summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/udc/m66592-udc.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-07-18 22:26:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-19 01:34:29 +0200
commit499b3803d3e2f062f73bf22372b38393369ffcbf (patch)
tree4f33ecaf596af157df8a4cdccbf1fd2ea5f6e3f0 /drivers/usb/gadget/udc/m66592-udc.h
parentUSB: OHCI: add I/O watchdog for orphan TDs (diff)
downloadlinux-499b3803d3e2f062f73bf22372b38393369ffcbf.tar.xz
linux-499b3803d3e2f062f73bf22372b38393369ffcbf.zip
USB: OHCI: add check for stopped frame counter
This patch adds an extra check to ohci-hcd's I/O watchdog routine. If the controller stops updating the frame counter, we will assume it is dead. But there has to be an exception: Some controllers stop the frame counter when no ports are connected. Check to make sure there is at least one active port before deciding the controller is dead. (This test may appear racy, but it isn't. Enabling a newly connected port takes several milliseconds, during which time the frame counter must advance.) Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Dennis New <dennisn@dennisn.linuxd.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/udc/m66592-udc.h')
0 files changed, 0 insertions, 0 deletions