aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-10-09 22:46:07 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-17 11:42:51 +0200
commit4f190e0b9de89c4c917c3ffb3799e9d00fc534ac (patch)
treed1ac2123f7f412a2a4f66cf397a3bcd1842927a5 /drivers/usb/musb/musb_core.h
parentusb: cdc_acm: Add quirk for Elatec TWN3 (diff)
downloadlinux-dev-4f190e0b9de89c4c917c3ffb3799e9d00fc534ac.tar.xz
linux-dev-4f190e0b9de89c4c917c3ffb3799e9d00fc534ac.zip
USB: musb: fix session-bit runtime-PM quirk
The current session-bit quirk implementation does not prevent the retry counter from underflowing, something which could break runtime PM and keep the device active for a very long time (about 2^32 seconds) after a disconnect. This notably breaks the B-device timeout case, but could potentially cause problems also when the controller is operating as an A-device. Fixes: 2bff3916fda9 ("usb: musb: Fix PM for hub disconnect") Cc: stable <stable@vger.kernel.org> # 4.9 Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Johan Hovold <johan@kernel.org> Tested-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/usb/musb/musb_core.h')
0 files changed, 0 insertions, 0 deletions