diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-07-17 15:59:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-30 23:54:38 +0200 |
commit | 658bb297e3930b90f80c08ddff18b4065b89a132 (patch) | |
tree | 5e9a1056cd183577d07ddf61d9fca71864f9c764 /lib/gen_crc64table.c | |
parent | ASoC: SOF: imx: use resource_size (diff) | |
download | linux-658bb297e3930b90f80c08ddff18b4065b89a132.tar.xz linux-658bb297e3930b90f80c08ddff18b4065b89a132.zip |
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 'lib/gen_crc64table.c')
0 files changed, 0 insertions, 0 deletions