Skip to content

Commit 098c2cd

Browse files
plbossartbroonie
authored andcommitted
ASoC: Intel: Atom: add 24-bit support for media playback and capture
DSP firmware supports 24-bit data, expose functionality to userspace/apps. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent d35eb96 commit 098c2cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sound/soc/intel/atom/sst-mfld-platform-pcm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,14 +501,14 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
501501
.channels_min = SST_STEREO,
502502
.channels_max = SST_STEREO,
503503
.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
504-
.formats = SNDRV_PCM_FMTBIT_S16_LE,
504+
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
505505
},
506506
.capture = {
507507
.stream_name = "Headset Capture",
508508
.channels_min = 1,
509509
.channels_max = 2,
510510
.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
511-
.formats = SNDRV_PCM_FMTBIT_S16_LE,
511+
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
512512
},
513513
},
514514
{
@@ -519,7 +519,7 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
519519
.channels_min = SST_STEREO,
520520
.channels_max = SST_STEREO,
521521
.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
522-
.formats = SNDRV_PCM_FMTBIT_S16_LE,
522+
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
523523
},
524524
},
525525
{

0 commit comments

Comments
 (0)