From: Axel Lin Date: Thu, 20 Oct 2011 02:50:03 +0000 (+0800) Subject: ASoC: Fix reg_word_size for ak4104 X-Git-Tag: next-20111025~52^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf0feafbc306718292dcda499bf299fc60cc8cc6;p=karo-tx-linux.git ASoC: Fix reg_word_size for ak4104 According to the register map in datasheet, the registers are 8 bit. Signed-off-by: Axel Lin Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c index cbf0b6d400b8..d3b29dce6ed7 100644 --- a/sound/soc/codecs/ak4104.c +++ b/sound/soc/codecs/ak4104.c @@ -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)