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

Skip to content
Commit e8ba4837 authored by Jack Pham's avatar Jack Pham
Browse files

usb: xhci-plat: Prevent NULL access in runtime PM



During cases where runtime PM is invoked before xhci_plat_probe
has not finished initializing, the xhci_hcd member may not be
available yet. Guard against NULL pointer access by no-op'ing
the runtime_suspend/resume functions.

Change-Id: I759196ee187900c57497af7b098675b254fe23f8
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 219364c5
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