10 Mar
2014
10 Mar
'14
12:09 p.m.
On Mon, Mar 10, 2014 at 12:49:56PM +0200, Jyri Sarha wrote:
On 03/09/2014 10:11 AM, Mark Brown wrote:
No, it shouldn't do any inversion. If inversion is required one of the drivers is buggy, they are CODEC bit master and CPU bit master so for a CPU driver the sense should be inverted when parsing.
Yes, that is the problem. The same code in simple-card parses the codec node and cpu-dai node and they produce the same SND_SOC_DAIFMT_C??_C?? flags for both codec and cpu-dai drivers.
Sorry, thinko above - the master flags are specified in terms of the CODEC. Anything interpreting them that isn't a CODEC needs to be inverting the sense.