]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8962: Do not remove ADDITIONAL_CONTROL_4 from readable register list
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Aug 2020 11:52:33 +0000 (08:52 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2020 13:17:33 +0000 (14:17 +0100)
commitc8625975e472329ca456884253103591e4fb3e58
treee61680fb4b680f7aa8dad41296d79fb9ba789aba
parentcfb6b3091b2770521607e148969a3a380efa43d4
ASoC: wm8962: Do not remove ADDITIONAL_CONTROL_4 from readable register list

Removing ADDITIONAL_CONTROL_4 from the list of readable registers cause
audio distortion.

This change was sent as a comment below the --- line when submitting
commit 3f5fc9f39696 ("ASoC: wm8962: Do not access WM8962_GPIO_BASE"), so
it was not supposed to get merged.

Keep WM8962_ADDITIONAL_CONTROL_4 inside wm8962_readable_register() to
fix the regression.

Fixes: 3f5fc9f39696 ("ASoC: wm8962: Do not access WM8962_GPIO_BASE")
Reported-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20200803115233.19034-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8962.c