[alsa-devel] [PATCH] ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS

Lars-Peter Clausen lars at metafoo.de
Wed Sep 28 09:22:09 CEST 2011


On 09/28/2011 09:14 AM, Axel Lin wrote:
> In the case of SND_SOC_DAIFMT_CBS_CFS, adau1373_dai->master should be false.
> 
> Signed-off-by: Axel Lin <axel.lin at gmail.com>

Acked-by: Lars-Peter Clausen <lars at metafoo.de>

Thanks

> ---
>  sound/soc/codecs/adau1373.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
> index 2aa40c3..1ccf8dd 100644
> --- a/sound/soc/codecs/adau1373.c
> +++ b/sound/soc/codecs/adau1373.c
> @@ -974,7 +974,7 @@ static int adau1373_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
>  		break;
>  	case SND_SOC_DAIFMT_CBS_CFS:
>  		ctrl = 0;
> -		adau1373_dai->master = true;
> +		adau1373_dai->master = false;
>  		break;
>  	default:
>  		return -EINVAL;



More information about the Alsa-devel mailing list