ASoC: da7218: Set DAI output pin high impedance when not in use
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Fri, 16 Dec 2016 11:05:02 +0000 (11:05 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Dec 2016 12:29:09 +0000 (12:29 +0000)
commitac29a8f41740186aee601de99c729530e37ca77c
tree6e68d9952357541cd47a6057e143c1bca1d5bf38
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: da7218: Set DAI output pin high impedance when not in use

For TDM mode, the I2S data out line can be shared between mutliple
codecs. In this scenario, only the active codec should be using
the line, and all others should be high impedance. However,
currently in the driver this configuration isn't set when capture
is inactive, and the line remains driven.

This patch updates the AIF_OUT widget to set the DAI output pin of
the device as high impedance when not in use.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7218.c