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

Skip to content
Commit 85bdc3ec authored by Saket Saurabh's avatar Saket Saurabh
Browse files

usb: phy-msm-usb: Return when usb power supply psy is NULL



If usb power supply is not registered, psy would be NULL.
In msm_otg_set_online_status(), add return code when psy is
NULL to prevent NULL pointer dereference.

Change-Id: I03ddfe79c6bddd4eb1a5e5f5bf489c5f5e6baa65
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent 763e35c9
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