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

Skip to content
Commit f85c9652 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: dwc3: Add a NULL check in dwc3_resume_work()



If extcon property is not present dwc3_resume_work()
dereferences extcon notifier block pointer to get the
extcon device. This results into NULL pointer
dereference. Add NULL check for extcon to skip extcon
related handling.

Change-Id: I0581cf13a6f577ebaf28817c6afe5839b08b2e95
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent eb182d17
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