Commit 41812391 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: msm_otg: Fix error handling bug in driver probe



Driver probe is returning 0(success) in case of error
returned by APIs called in msm_otg_probe(). This is causing
NULL pointer exceptions during system wide suspend as
driver data for platform device is not set.

CRs-Fixed: 379532
Change-Id: I194e9386ba8de6d88ab102a467793f8b2f03083a
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent a0e51df0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment