16 Jul
2013
16 Jul
'13
7:54 p.m.
On Tue, Jul 16, 2013 at 09:17:27AM +0800, Shawn Guo wrote:
It's not always the case that clock is already available when sgtl5000 get probed at the first time, e.g. the clock is provided by CPU DAI which may be probed after sgtl5000. So let's defer the probe when devm_clk_get() call fails and give it chance to try later.
Meh, I went ahead and applied this but I'm not happy - there's been a lot of problems with this code recently and this issue isn't being discussed at the right level but there's users. So please look into a more general solution in the clock API.