Commit 6b7fa011 authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown

ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words

Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Reported-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 21eb24d8
...@@ -867,12 +867,12 @@ static int davinci_mcasp_hw_params(struct snd_pcm_substream *substream, ...@@ -867,12 +867,12 @@ static int davinci_mcasp_hw_params(struct snd_pcm_substream *substream,
case SNDRV_PCM_FORMAT_U24_3LE: case SNDRV_PCM_FORMAT_U24_3LE:
case SNDRV_PCM_FORMAT_S24_3LE: case SNDRV_PCM_FORMAT_S24_3LE:
case SNDRV_PCM_FORMAT_U24_LE:
case SNDRV_PCM_FORMAT_S24_LE:
dma_params->data_type = 3; dma_params->data_type = 3;
word_length = DAVINCI_AUDIO_WORD_24; word_length = DAVINCI_AUDIO_WORD_24;
break; break;
case SNDRV_PCM_FORMAT_U24_LE:
case SNDRV_PCM_FORMAT_S24_LE:
case SNDRV_PCM_FORMAT_U32_LE: case SNDRV_PCM_FORMAT_U32_LE:
case SNDRV_PCM_FORMAT_S32_LE: case SNDRV_PCM_FORMAT_S32_LE:
dma_params->data_type = 4; dma_params->data_type = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment