projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9619a
)
ASoC: Fix reg_word_size for ak4104
author
Axel Lin
<axel.lin@gmail.com>
Thu, 20 Oct 2011 02:50:03 +0000
(10:50 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 20 Oct 2011 14:02:09 +0000
(15:02 +0100)
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>
sound/soc/codecs/ak4104.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/ak4104.c
b/sound/soc/codecs/ak4104.c
index cbf0b6d400b8d22d899854e6cd1d38b3d9fe2636..d3b29dce6ed7f27c080e7059ed5fc067d0d3ad0a 100644
(file)
--- 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(u
16
),
+ .reg_word_size = sizeof(u
8
),
};
static int ak4104_spi_probe(struct spi_device *spi)