Skip to content

Commit

Permalink
ASoC: Fix reg_word_size for ak4104
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 20, 2011
1 parent 9f9619a commit cf0feaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/ak4104.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf0feaf

Please sign in to comment.