* [PATCH] ASoC: Fix reg_word_size for ak4104
@ 2011-10-20 2:50 Axel Lin
2011-10-20 9:46 ` Girdwood, Liam
2011-10-20 14:08 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-10-20 2:50 UTC (permalink / raw)
To: linux-kernel; +Cc: Daniel Mack, Liam Girdwood, Mark Brown, alsa-devel
According to the register map in datasheet, the registers are 8 bit.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
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 cbf0b6d..d3b29dc 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)
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Fix reg_word_size for ak4104
2011-10-20 2:50 [PATCH] ASoC: Fix reg_word_size for ak4104 Axel Lin
@ 2011-10-20 9:46 ` Girdwood, Liam
2011-10-20 14:08 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Girdwood, Liam @ 2011-10-20 9:46 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Daniel Mack, Mark Brown, alsa-devel
On 20 October 2011 03:50, Axel Lin <axel.lin@gmail.com> wrote:
> According to the register map in datasheet, the registers are 8 bit.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> 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 cbf0b6d..d3b29dc 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)
> --
> 1.7.5.4
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Fix reg_word_size for ak4104
2011-10-20 2:50 [PATCH] ASoC: Fix reg_word_size for ak4104 Axel Lin
2011-10-20 9:46 ` Girdwood, Liam
@ 2011-10-20 14:08 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-10-20 14:08 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Daniel Mack, Liam Girdwood, alsa-devel
On Thu, Oct 20, 2011 at 10:50:03AM +0800, Axel Lin wrote:
> According to the register map in datasheet, the registers are 8 bit.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-20 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20 2:50 [PATCH] ASoC: Fix reg_word_size for ak4104 Axel Lin
2011-10-20 9:46 ` Girdwood, Liam
2011-10-20 14:08 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).