MLK-10611-2 ASoC: imx-sii902x: forbid using SAI when SAI is being used by other device
authorZidan Wang <zidan.wang@freescale.com>
Fri, 10 Apr 2015 02:27:37 +0000 (10:27 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:44 +0000 (14:48 -0500)
commit85c7ecf666abc13bf586ba76253974579a0ca057
treed37fd801d40378845e645d888343b653d08c6303
parent0f0d73c7cd792b2e28bcb0549c955b38f547a513
MLK-10611-2 ASoC: imx-sii902x: forbid using SAI when SAI is being used by other device

imx7d-sdb board using one SAI for wm8960 and sii902x hdmi audio, wm8960
using SAI as slave mode and sii902x hdmi audio using SAI as master mode,
so SAI can't be used at the same time.

Forbid palyback(capture) when SAI is being used capture(playback) by other
device.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit bac15c28c3b8a57fbe04ea80b8fb5eb47a0211f1)
sound/soc/fsl/imx-sii902x.c