[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1BAFE6F6C881BF42822005164F1491C33EB49910@DBDE01.ent.ti.com>
Date: Fri, 18 Jan 2013 08:22:53 +0000
From: "Hebbar, Gururaja" <gururaja.hebbar@...com>
To: Michal Bachraty <michal.bachraty@...eamunlimited.com>,
"tiwai@...e.de" <tiwai@...e.de>, "perex@...ex.cz" <perex@...ex.cz>
CC: "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"broonie@...nsource.wolfsonmicro.com"
<broonie@...nsource.wolfsonmicro.com>,
"Girdwood, Liam" <lrg@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [alsa-devel] [PATCH] ALSA: ASoC: McASP: Fix data rotation for
playback. Enables 24bit audio playback
On Tue, Jan 15, 2013 at 20:11:00, Michal Bachraty wrote:
> Signed-off-by: Michal Bachraty <michal.bachraty@...eamunlimited.com>
Even simple patches need a simple changelog.
Add a brief description about what & why it is done?
> ---
> sound/soc/davinci/davinci-mcasp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
> index 13f8d73..a03bece 100644
> --- a/sound/soc/davinci/davinci-mcasp.c
> +++ b/sound/soc/davinci/davinci-mcasp.c
> @@ -626,7 +626,7 @@ static int davinci_config_channel_size(struct davinci_audio_dev *dev,
> int word_length)
> {
> u32 fmt;
> - u32 rotate = (32 - word_length) / 4;
> + u32 rotate = (word_length / 4) & 0x7;
> u32 mask = (1ULL << word_length) - 1;
>
> /*
> --
> 1.7.9.5
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@...a-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
Regards,
Gururaja
--
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