[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABS+qY0z9E6_UsUcN34+Kjsid_RnpCufHxJxhez_f7-VX49BwA@mail.gmail.com>
Date: Thu, 20 Oct 2011 10:46:28 +0100
From: "Girdwood, Liam" <lrg@...com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Daniel Mack <zonque@...il.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: Fix reg_word_size for ak4104
On 20 October 2011 03:50, Axel Lin <axel.lin@...il.com> wrote:
> According to the register map in datasheet, the registers are 8 bit.
>
> Signed-off-by: Axel Lin <axel.lin@...il.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@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists