16 Jan
2013
16 Jan
'13
2:04 a.m.
On Tue, Jan 15, 2013 at 04:18:30PM -0800, Kuninori Morimoto wrote:
Current wm8978 driver return -EINVAL if it doesn't have SND_SOC_DAIFMT_INV_MASK flags on snd_soc_dai_ops :: set_fmt. But default settings should be treated as SND_SOC_DAIFMT_NB_NF (= no clock inversion).
I'd say the fix here is really to change the values of the flags so that _NB_NF is zero - this is a widespread thing in drivers and it makes sense from a user point of view too.