Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Updates for Atmel SSC DAI

Merge series from Andrei Simion <andrei.simion@microchip.com>:

This patch set includes two updates for the Atmel SSC DAI driver:
- Address the limitation with the S24_LE format.
- Add stream names for DPCM and future use-cases.

+4 -1
+4 -1
sound/soc/atmel/atmel_ssc_dai.c
··· 821 821 return 0; 822 822 } 823 823 824 + /* S24_LE is not supported if more than 2 channels (of TDM slots) are used. */ 824 825 #define ATMEL_SSC_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\ 825 - SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 826 + SNDRV_PCM_FMTBIT_S32_LE) 826 827 827 828 static const struct snd_soc_dai_ops atmel_ssc_dai_ops = { 828 829 .startup = atmel_ssc_startup, ··· 837 836 838 837 static struct snd_soc_dai_driver atmel_ssc_dai = { 839 838 .playback = { 839 + .stream_name = "Playback", 840 840 .channels_min = 1, 841 841 .channels_max = 2, 842 842 .rates = SNDRV_PCM_RATE_CONTINUOUS, ··· 845 843 .rate_max = 384000, 846 844 .formats = ATMEL_SSC_FORMATS,}, 847 845 .capture = { 846 + .stream_name = "Capture", 848 847 .channels_min = 1, 849 848 .channels_max = 2, 850 849 .rates = SNDRV_PCM_RATE_CONTINUOUS,