]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea8a527d440d256fb48a78bd4051ff5956a6d341
treec49dfd43e5df962e160ba593fe0f35326dcd73ff
parent579b997733083af2cc56a887de299901e9567fc2
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