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

Skip to content
Commit e5f6ac67 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: msm: clock: Return error to clients if branch clock enable times out



Currently, when enabling a branch clock times out, the clock
driver prints out a warning but does not return an error to
the caller of the function. This leads to clients assuming
that the clock turned on correctly and them taking next steps
with that erroneous assumption. This sometimes leads to fatal
failures whose cause might not be obvious.
Return an error code to let clients do the necessary cleanup
at their end in the instance that turning on a branch clock
fails.

CRs-Fixed: 1055889
Change-Id: Ibe8221ce0faa1d59405187a71c4527d5d8387790
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent fa0dc604
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