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

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Mar 9 16:35:07 CET 2021



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 at 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 at 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,
>   	},
>   },
> 


More information about the Alsa-devel mailing list