ASoC: Fix reg_word_size for ak4104
PATCH 1/1 ASoC: Fix reg_word_size for ak4104
According to the register map in datasheet, the registers are 8 bit.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/codecs/ak4104.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/ak4104.c +1 -1
@@ -247,7 +247,7 @@ static struct snd_soc_codec_driver soc_codec_device_ak4104 = { .probe = ak4104_probe, .remove = ak4104_remove, .reg_cache_size = AK4104_NUM_REGS, - .reg_word_size = sizeof(u16), + .reg_word_size = sizeof(u8), };static int ak4104_spi_probe (struct spi_device *spi)
Signature · 1 line
1.7.5.4
Quoted 21 lines · Axel Lin
According to the register map in datasheet, the registers are 8 bit.
Signed-off-by Axel Lin <[email protected]>---
sound/soc/codecs/ak4104.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/codecs/ak4104.c +1
-2@@ -247,7 +247,7 @@ static struct snd_soc_codec_driver soc_codec_device_ak4104 = { .probe = ak4104_probe, .remove = ak4104_remove, .reg_cache_size = AK4104_NUM_REGS, - .reg_word_size = sizeof(u16), + .reg_word_size = sizeof(u8), }; static int ak4104_spi_probe(struct spi_device *spi) --
Quoted 2 lines
1.7.5.4
Acked-by Liam Girdwood <[email protected]>
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
AppliedQuoted 1 line · Axel Lin
According to the register map in datasheet, the registers are 8 bit.
Applied, thanks.