diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-19 22:50:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-20 10:02:09 -0400 |
commit | cf0feafbc306718292dcda499bf299fc60cc8cc6 (patch) | |
tree | 3ec5ad4554958123e461c4d8efebd353cfc1c480 /sound/soc | |
parent | 9f9619a0785f8eee42edf731fd18189faa5a7ce8 (diff) |
ASoC: Fix reg_word_size for ak4104
According to the register map in datasheet, the registers are 8 bit.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/ak4104.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
247 | .probe = ak4104_probe, | 247 | .probe = ak4104_probe, |
248 | .remove = ak4104_remove, | 248 | .remove = ak4104_remove, |
249 | .reg_cache_size = AK4104_NUM_REGS, | 249 | .reg_cache_size = AK4104_NUM_REGS, |
250 | .reg_word_size = sizeof(u16), | 250 | .reg_word_size = sizeof(u8), |
251 | }; | 251 | }; |
252 | 252 | ||
253 | static int ak4104_spi_probe(struct spi_device *spi) | 253 | static int ak4104_spi_probe(struct spi_device *spi) |