]> git.karo-electronics.de Git - linux-beck.git/commit
USB: UHCI: remove uses of hcd->state
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 5 Apr 2011 17:36:04 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:36:05 +0000 (16:36 -0700)
commit7d670a2ed770a3405a7edb1159e3fa9b3f43fe46
treee84a3b517849d73f3b64cc571f0dbc79f196e65c
parent4661ffc91befc8c5ee080720120da1d53851060a
USB: UHCI: remove uses of hcd->state

This patch (as1456) removes all uses of hcd->state from the uhci-hcd
driver, as part of the overall strategy to eliminate hcd->state
completely.  Now when a controller dies we call usb_hc_died()
directly, instead of relying on the core interrupt handler to see that
hcd->state has changed to HC_STATE_HALT and make the call for us.

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