![](https://secure.gravatar.com/avatar/4cd2b8544a9f4f8096acd3737c1ad86c.jpg?s=120&d=mm&r=g)
4 Jan
2017
4 Jan
'17
1:22 p.m.
From: Harisangam, Sharvari (S.)
Sent: 28 December 2016 11:07 Corrected the condition to check if ssi is configured for AC97 mode. Other modes like dsp_a also satisfy the ANDing condition.
Under the assumption that the constants have 1 bit set nothing is wrong.
David
...
- return !!(ssi_private->dai_fmt & SND_SOC_DAIFMT_AC97);
...
- if (fmt & SND_SOC_DAIFMT_AC97)
...