[alsa-devel] [PATCH RFC 1/5] ASoC: davinci-mcasp: Set .symmetric_rates = 1 in snd_soc_dai_driver

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Sep 11 10:48:00 CEST 2015


On 09/09/2015 09:27 PM, Jyri Sarha wrote:
> The TX and RX direction share the same bit clock and frame sync, so
> the samplerate must be the same to both directions.

Acked-by: Peter Ujfalusi <peter.ujfalusi at ti.com>

> Signed-off-by: Jyri Sarha <jsarha at ti.com>
> ---
>  sound/soc/davinci/davinci-mcasp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
> index fa0511b..bbd1987 100644
> --- a/sound/soc/davinci/davinci-mcasp.c
> +++ b/sound/soc/davinci/davinci-mcasp.c
> @@ -1304,6 +1304,7 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
>  		.ops 		= &davinci_mcasp_dai_ops,
>  
>  		.symmetric_samplebits	= 1,
> +		.symmetric_rates	= 1,
>  	},
>  	{
>  		.name		= "davinci-mcasp.1",
> 


-- 
Péter


More information about the Alsa-devel mailing list