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

Harisangam, Sharvari (S.) sharvari.harisangam at visteon.com
Wed Dec 28 16:53:33 CET 2016


On Wed, Dec 28, 2016 at 03:50:57PM +0100, Andreas Schwab wrote:
> On Dez 28 2016, "Harisangam, Sharvari (S.)" <sharvari.harisangam at visteon.com> wrote:
> 
> > +	return !!(ssi_private->dai_fmt & SND_SOC_DAIFMT_AC97) ==
> > +		SND_SOC_DAIFMT_AC97;
> 
> This is never true.
> 
> Andreas.
> 
> -- 
> Andreas Schwab, schwab at linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

Ok. I missed the braces there. I will modify and resubmit the patch

-Thanks
Sharvari


More information about the Alsa-devel mailing list