]> err.no Git - linux-2.6/commit
USB: OHCI: disable RHSC inside interrupt handler
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 27 Oct 2006 14:33:11 +0000 (10:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:27 +0000 (14:23 -0800)
commit052ac01aeb84d8427ba8ac3d70991ac01b009b59
treeb232d996dab32777156c4d9f661711e8a29aee86
parentb1878440d46a0dc357ed5c9687c534e20955e940
USB: OHCI: disable RHSC inside interrupt handler

This patch (as808b) moves the Root Hub Status Change interrupt-disable
code in ohci-hcd back into the interrupt handler proper, to avoid the
chance of adverse interactions with mediocre hardware implementations.

It also deletes the root-hub status timer from within the interrupt-enable
routine.  There's no need to poll for status any more once interrupts are
re-enabled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-hub.c