20 Oct
2013
20 Oct
'13
6:33 p.m.
On Sun, Oct 20, 2013 at 10:03:33AM +0200, Uwe Kleine-König wrote:
Yes, that's understood. My suggestion behaves as your's for the return values -EPROBE_DEFER and -ENOENT, so the deferred probe should work, too. The question is only what you want to do for other errors (don't know if they can happen at this stage). I'd say, on a dt parsing error bail out, too.
It seems like the best thing to do is defer if the error might resolve itself but otherwise carry on with the reduced functionality from the internal clocks. I'd expect most errors to be permanently fatal though, certainly a failure to parse the DT is unlikely to get fixed at runtime.