MLK-17110 usb: dwc3: use system_freezable_wq for role change work
authorLi Jun <jun.li@nxp.com>
Fri, 8 Dec 2017 08:56:06 +0000 (16:56 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:50:31 +0000 (14:50 -0500)
commitd1dea81e090a10cf8dcf587d59395ad19b612c49
tree8e29849d61d8ab8a2d60ce0fcf4a2d4a7a77bcac
parent95e133a6285db0dd7fa6bb9a7a290db2d3af3480
MLK-17110 usb: dwc3: use system_freezable_wq for role change work

To avoid deadlock after system resume if the role changes notification
is sent while system resume, we need to drain the work handling until
thawed.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/usb/dwc3/core.c