ASoC: da7213: Default PC counter to free-running when DAI disabled
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 10 May 2016 15:11:06 +0000 (16:11 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2016 18:24:19 +0000 (19:24 +0100)
commit7e28fd469624fc41ec326a31abbc63a7afdd10f5
tree00cbbdc6e6965d7279130826f8ad518bfdc77f7b
parentd575b0b0f01a805508c5cf48b540f004e9b5de07
ASoC: da7213: Default PC counter to free-running when DAI disabled

Currently PC counter is always synchronised to DAI which means that
when the DAI is disabled, features such as ALC calibration cannot
be executed successfully. This patch makes sure that when the DAI
is disabled, PC counter is set to free-running.

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