|
@@ -6006,6 +6006,7 @@ static int snd_hdspm_playback_open(struct snd_pcm_substream *substream)
|
|
|
}
|
|
|
|
|
|
if (AES32 == hdspm->io_type) {
|
|
|
+ runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
|
|
|
snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
|
|
|
&hdspm_hw_constraints_aes32_sample_rates);
|
|
|
} else {
|
|
@@ -6076,6 +6077,7 @@ static int snd_hdspm_capture_open(struct snd_pcm_substream *substream)
|
|
|
}
|
|
|
|
|
|
if (AES32 == hdspm->io_type) {
|
|
|
+ runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
|
|
|
snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
|
|
|
&hdspm_hw_constraints_aes32_sample_rates);
|
|
|
} else {
|