We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db282c commit 6101bf7Copy full SHA for 6101bf7
sound/soc/stm/stm32_adfsdm.c
@@ -47,9 +47,6 @@ static const struct snd_pcm_hardware stm32_adfsdm_pcm_hw = {
47
SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_PAUSE,
48
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE,
49
50
- .rate_min = 8000,
51
- .rate_max = 32000,
52
-
53
.channels_min = 1,
54
.channels_max = 1,
55
@@ -143,8 +140,9 @@ static const struct snd_soc_dai_driver stm32_adfsdm_dai = {
143
140
144
141
.formats = SNDRV_PCM_FMTBIT_S16_LE |
145
142
SNDRV_PCM_FMTBIT_S32_LE,
146
- .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
147
- SNDRV_PCM_RATE_32000),
+ .rates = SNDRV_PCM_RATE_CONTINUOUS,
+ .rate_min = 8000,
+ .rate_max = 48000,
148
},
149
.ops = &stm32_adfsdm_dai_ops,
150
};
0 commit comments