+19
−34
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Clock driver API: clk_get may return EPROBE_DEFER even for the clocks
that are not defined for the platform. This makes it difficult to
find out if clk_get failure with EPROBE_DEFER was genuine or it
failed because the clock is not defined for the platform.
Take a simple approach to handle this by moving optional clocks' get
to the last and not to fail probe if clk_get fails for them.
Change-Id: I7f88ef1080357bd78d334335ba2b02fee175080e
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>