ASoC: da7213: fix DAI_CLK_EN register bit overwrite
authorLogesh <logesh.kolandavel@timesys.com>
Wed, 1 May 2019 09:04:24 +0000 (14:34 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 01:57:47 +0000 (10:57 +0900)
commit414a7321d60bc0abced4a760e22b8187e2b4aecf
treec49dfd43e5df962e160ba593fe0f35326dcd73ff
parent882c8b4af315bf921431142c1e9f5f69df99da34
ASoC: da7213: fix DAI_CLK_EN register bit overwrite

If the da7213 codec is configured as Master with the DAPM power down
delay time set, 'snd_soc_component_write' function overwrites the
DAI_CLK_EN bit of DAI_CLK_MODE register which leads to audio play
only once until it re-initialize after codec power up.

Signed-off-by: Logesh <logesh.kolandavel@timesys.com>
Reviewed-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