summaryrefslogtreecommitdiffstats
path: root/Documentation/watchdog/hpwdt.txt
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-09-17 17:23:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 23:59:17 +0200
commit7312b5ddd47fee2356baa78c5516ef8e04eed452 (patch)
treeacee82032dd9596d976597d8f23e2bbf07d50c95 /Documentation/watchdog/hpwdt.txt
parentMerge tag 'for_3.17-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/kish... (diff)
downloadlinux-7312b5ddd47fee2356baa78c5516ef8e04eed452.tar.xz
linux-7312b5ddd47fee2356baa78c5516ef8e04eed452.zip
USB: EHCI: unlink QHs even after the controller has stopped
Old code in ehci-hcd tries to expedite disabling endpoints after the controller has stopped, by destroying the endpoint's associated QH without first unlinking the QH. This was necessary back when the driver wasn't so careful about keeping track of the controller's state. But now we are careful about it, and the driver knows that when the controller isn't running, no unlinking delay is needed. Furthermore, skipping the unlink step will trigger a BUG() in qh_destroy() when the preceding QH is released, because the link pointer will be non-NULL. Removing the lines that skip the unlinking step and go directly to QH_STATE_IDLE fixes the problem. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Joe Lawrence <joe.lawrence@stratus.com> Tested-by: Joe Lawrence <joe.lawrence@stratus.com> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/watchdog/hpwdt.txt')
0 files changed, 0 insertions, 0 deletions