mbox series

[0/1] usb: chipidea: fix for v5.3-rc

Message ID 20190820020503.27080-1-peter.chen@nxp.com (mailing list archive)
Headers show
Series usb: chipidea: fix for v5.3-rc | expand

Message

Peter Chen Aug. 20, 2019, 2:07 a.m. UTC
Hi Greg,

When the driver enables runtime pm, it may cause the system hang
when plug out the cable from PC. The patch fixes this issue by
avoiding hardware accessing at this situation.

Peter Chen (1):
  usb: chipidea: udc: don't do hardware access if gadget has stopped

 drivers/usb/chipidea/udc.c | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)