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

Skip to content
Commit 0b6ea3da authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

USB: msm_otg: Return correct error code from probe



VBUS regulator_get may fail with EPROBE_DEFER. In this case
driver should return same error code from probe so that kernel
retries calling driver's probe routine later. Otherwise, driver
probe would never be called even if vbus regulator gets added
later.

Change-Id: I3b05a04417c4ba728aa698ed108b14c8c86849f9
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 2fb99894
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