aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-mcasp.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-10-09 05:56:40 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-14 22:24:48 -0400
commit6b7fa011571d10309cd2b39511f895cef9dd536c (patch)
tree5db93c7d7679c9ecb9950c1446644db8039e9d7c /sound/soc/davinci/davinci-mcasp.c
parent21eb24d8d50a26fe6bd626bc9771a469e14907dc (diff)
ASoC: McASP: treat SNDRV_PCM_FORMAT_U24_* as 32 bit words
Signed-off-by: Daniel Mack <zonque@gmail.com> Reported-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.c')
-rw-r--r--sound/soc/davinci/davinci-mcasp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 05a2b1e6fd42..4fd149bb1ae7 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -867,12 +867,12 @@ static int davinci_mcasp_hw_params(struct snd_pcm_substream *substream,
867 867
868 case SNDRV_PCM_FORMAT_U24_3LE: 868 case SNDRV_PCM_FORMAT_U24_3LE:
869 case SNDRV_PCM_FORMAT_S24_3LE: 869 case SNDRV_PCM_FORMAT_S24_3LE:
870 case SNDRV_PCM_FORMAT_U24_LE:
871 case SNDRV_PCM_FORMAT_S24_LE:
872 dma_params->data_type = 3; 870 dma_params->data_type = 3;
873 word_length = DAVINCI_AUDIO_WORD_24; 871 word_length = DAVINCI_AUDIO_WORD_24;
874 break; 872 break;
875 873
874 case SNDRV_PCM_FORMAT_U24_LE:
875 case SNDRV_PCM_FORMAT_S24_LE:
876 case SNDRV_PCM_FORMAT_U32_LE: 876 case SNDRV_PCM_FORMAT_U32_LE:
877 case SNDRV_PCM_FORMAT_S32_LE: 877 case SNDRV_PCM_FORMAT_S32_LE:
878 dma_params->data_type = 4; 878 dma_params->data_type = 4;