ASoC: pcm3168a: remove read-only status register from snd_kcontrol_new
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 6 Nov 2018 04:33:02 +0000 (04:33 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Nov 2018 17:23:00 +0000 (17:23 +0000)
commit223bc10b84970fd772c105b550beeef3ac3502be
treed361b9c9f9e7c9afb9db74aa028fa6cdf2c2d241
parent39dfdf00c7a56b2a8c01c596f6522f089428b1c7
ASoC: pcm3168a: remove read-only status register from snd_kcontrol_new

"DACn Zero Flag" and "ADCn Overflow Flag" are read-only status
register. These information are needed for driver not for user.
Let's remove these from snd_kcontrol_new.

There is no detail explanation for these register on
datasheet, but, judging from its behavior, it seems these register
needs clock to read. Otherwise, I2C returns error.
Therefor, amixer command will be failed under non working timing.

Without this patch, user often fail amixer command.
This patch is tested on R-Car H3 ulcb-kf board, SSI3/4 TDM sound.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c