diff options
author | Tony Lindgren | 2016-09-22 15:58:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-09-23 12:26:07 +0200 |
commit | 4e719183667e1363b0d81add5212aee2f149d727 (patch) | |
tree | 4bcea7383280830b102280df1f9f7b528badefa3 /drivers/spi/spi-rspi.c | |
parent | b36df0905ef808a8e9e46ded5f0b4967f21a2114 (diff) |
usb: musb: Fix PM runtime for disconnect after unconfigure
If we unconfigure musb as a USB peripheral with cable connected,
and then remove the cable, no interrupts will happen. And musb
thinks we're still connected keeping the device active.
Now with the session bit based PM runtime working for musb, we
can fix this issue by calling musb irq_work. That rechecks the
devctl register and reconfigures PM runtime based on the devctl.
Fixes: 467d5c980709 ("usb: musb: Implement session bit based runtime PM for musb-core")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
0 files changed, 0 insertions, 0 deletions