diff mbox series

[2/2] ASoC: intel: atom: Remove 44100 sample-rate from the media and deep-buffer DAI descriptions

Message ID 20210309105520.9185-2-hdegoede@redhat.com (mailing list archive)
State Accepted
Commit 632aeebe1b7a3a8b193d71942a10e66919bebfb8
Headers show
Series [1/2] ASoC: intel: atom: Stop advertising non working S24LE support | expand

Commit Message

Hans de Goede March 9, 2021, 10:55 a.m. UTC
The media and deep-buffer DAIs only support 48000 Hz samplerate,
remove the 44100 sample-rate from their descriptions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Pierre-Louis Bossart March 9, 2021, 3:35 p.m. UTC | #1
On 3/9/21 4:55 AM, Hans de Goede wrote:
> The media and deep-buffer DAIs only support 48000 Hz samplerate,
> remove the 44100 sample-rate from their descriptions.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

This only worked when an SRC was added, but I don't think it was ever 
released, so

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

> ---
>   sound/soc/intel/atom/sst-mfld-platform-pcm.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> index aa5dd590ddd5..4124aa2fc247 100644
> --- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> +++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> @@ -487,14 +487,14 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
>   		.stream_name = "Headset Playback",
>   		.channels_min = SST_STEREO,
>   		.channels_max = SST_STEREO,
> -		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
> +		.rates = SNDRV_PCM_RATE_48000,
>   		.formats = SNDRV_PCM_FMTBIT_S16_LE,
>   	},
>   	.capture = {
>   		.stream_name = "Headset Capture",
>   		.channels_min = 1,
>   		.channels_max = 2,
> -		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
> +		.rates = SNDRV_PCM_RATE_48000,
>   		.formats = SNDRV_PCM_FMTBIT_S16_LE,
>   	},
>   },
> @@ -505,7 +505,7 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
>   		.stream_name = "Deepbuffer Playback",
>   		.channels_min = SST_STEREO,
>   		.channels_max = SST_STEREO,
> -		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
> +		.rates = SNDRV_PCM_RATE_48000,
>   		.formats = SNDRV_PCM_FMTBIT_S16_LE,
>   	},
>   },
>
diff mbox series

Patch

diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index aa5dd590ddd5..4124aa2fc247 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -487,14 +487,14 @@  static struct snd_soc_dai_driver sst_platform_dai[] = {
 		.stream_name = "Headset Playback",
 		.channels_min = SST_STEREO,
 		.channels_max = SST_STEREO,
-		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
+		.rates = SNDRV_PCM_RATE_48000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 	.capture = {
 		.stream_name = "Headset Capture",
 		.channels_min = 1,
 		.channels_max = 2,
-		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
+		.rates = SNDRV_PCM_RATE_48000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 },
@@ -505,7 +505,7 @@  static struct snd_soc_dai_driver sst_platform_dai[] = {
 		.stream_name = "Deepbuffer Playback",
 		.channels_min = SST_STEREO,
 		.channels_max = SST_STEREO,
-		.rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000,
+		.rates = SNDRV_PCM_RATE_48000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 },