summaryrefslogtreecommitdiff
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-07-17 16:59:59 +0300
committerMark Brown <broonie@kernel.org>2020-07-31 00:54:38 +0300
commit658bb297e3930b90f80c08ddff18b4065b89a132 (patch)
tree5e9a1056cd183577d07ddf61d9fca71864f9c764 /sound/soc/rockchip
parentafd842c031408f9eaf689ff417071eed15afa05e (diff)
downloadlinux-658bb297e3930b90f80c08ddff18b4065b89a132.tar.xz
ASoC: wm8962: Do not access WM8962_GPIO_BASE
According to the WM8962 datasheet, there is no register at address 0x200. WM8962_GPIO_BASE is just a base address for the GPIO registers and not a real register, so remove it from wm8962_readable_register(). Also, Register 515 (WM8962_GPIO_BASE + 3) does not exist, so skip its access. This fixes the following errors: wm8962 0-001a: ASoC: error at soc_component_read_no_lock on wm8962.0-001a: -16 wm8962 0-001a: ASoC: error at soc_component_read_no_lock on wm8962.0-001a: -16 Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20200717135959.19212-1-festevam@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions