Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit afd44c84 authored by Manu Gautam's avatar Manu Gautam
Browse files

EHCI: HSIC: Don't fail probe if clk_get fails for optional clocks



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: default avatarManu Gautam <mgautam@codeaurora.org>
parent 9b7a320d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment