19 Oct
2018
19 Oct
'18
7:06 p.m.
On Fri, Oct 19, 2018 at 05:56:35PM +0200, Olivier Moysan wrote:
Fixes: 5e8d63a726f8 ("ASoC: cs42l51: add mclk support")
The MCLK clock is made optional for cs42l51 codec. However, ASoC DAPM clock supply widget, expects the clock to be defined unconditionally. Register MCLK DAPM conditionally in codec driver, depending on clock presence in DT.
I've applied this but TBH I think we should be doing this in the core - I actually thought we had handling for that but I can't see it so I'm obviously imagining things. It's something that can be done later anyway.