* [PATCH] ALSA: ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words
@ 2012-10-09 9:56 Daniel Mack
2012-10-10 4:26 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mack @ 2012-10-09 9:56 UTC (permalink / raw)
To: alsa-devel; +Cc: Mike Looijmans, broonie, lrg, Daniel Mack
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Mike Looijmans <mike.looijmans@topic.nl>
Cc: Mike Looijmans <mike.looijmans@topic.nl>
---
sound/soc/davinci/davinci-mcasp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 501f8b4..82877a9 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -868,12 +868,12 @@ static int davinci_mcasp_hw_params(struct snd_pcm_substream *substream,
case SNDRV_PCM_FORMAT_U24_3LE:
case SNDRV_PCM_FORMAT_S24_3LE:
- case SNDRV_PCM_FORMAT_U24_LE:
- case SNDRV_PCM_FORMAT_S24_LE:
dma_params->data_type = 3;
word_length = DAVINCI_AUDIO_WORD_24;
break;
+ case SNDRV_PCM_FORMAT_U24_LE:
+ case SNDRV_PCM_FORMAT_S24_LE:
case SNDRV_PCM_FORMAT_U32_LE:
case SNDRV_PCM_FORMAT_S32_LE:
dma_params->data_type = 4;
--
1.7.11.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words
2012-10-09 9:56 [PATCH] ALSA: ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words Daniel Mack
@ 2012-10-10 4:26 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-10-10 4:26 UTC (permalink / raw)
To: Daniel Mack; +Cc: Mike Looijmans, alsa-devel, lrg
On Tue, Oct 09, 2012 at 11:56:40AM +0200, Daniel Mack wrote:
> Signed-off-by: Daniel Mack <zonque@gmail.com>
> Reported-by: Mike Looijmans <mike.looijmans@topic.nl>
Applied, thanks. Please do use subject lines matching those for the
subsystem.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-10 4:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 9:56 [PATCH] ALSA: ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words Daniel Mack
2012-10-10 4:26 ` 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).