[PATCH] ASoC : fsl_ssi : Correct the condition to check AC97 mode

Timur Tabi timur at tabi.org
Thu Dec 29 02:48:42 AEDT 2016


Andreas Schwab wrote:
>> > +	return !!(ssi_private->dai_fmt & SND_SOC_DAIFMT_AC97) ==
>> > +		SND_SOC_DAIFMT_AC97;
> This is never true.

I think the right parenthesis should be at the end of the expression.


More information about the Linuxppc-dev mailing list