10 Mar
2016
10 Mar
'16
6:24 a.m.
On Thu, Mar 10, 2016 at 12:31:54PM +0800, John Hsu wrote:
On 3/9/2016 10:40 AM, Mark Brown wrote:
This really isn't a good way to be handling things, you should be ensuring that platforms that have an MCLK provide one via the clock API. If the clock is missing that should indicate that it's the second case where it's not used at all.
Do you mean I should use devm_clk_get to check mclk exist instead of nau8825->mclk in nau8825_mclk_prepare function? And return a warn- ing message if mclk is missing?
That might make sense, yes. Let's see the code.