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

Skip to content
Commit 7df746f9 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: dwc3: otg: Don't abort otg_init() if otg is not supported



If hardware doesn't support OTG, continue with otg_init() as
currently there is no only device mode support available.
Aborting otg_init() would crash device due to NULL dereference
in dwc3_msm probe.

Change-Id: I1273a58acf319b64c1ceaf41134f59cc59d5bdcd
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 7639e583
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