]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB Gadget: dummy_hcd: updates to hcd->state
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 29 Nov 2005 17:08:15 +0000 (12:08 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:40 +0000 (13:51 -0800)
commit3cf0a22e8b1b3f44288db773d315e72e89d51c4c
treeb2b9e6d717b317a6439d9e5c1cf2333148759af0
parenta21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66
[PATCH] USB Gadget: dummy_hcd: updates to hcd->state

This patch (as613) moves the updates to hcd->state in the dummy_hcd
driver to where they now belong.  It also uses the new
HC_FLAG_HW_ACCESSIBLE flag in a way that simulates a real PCI
controller, and it adds checks for attempts to resume the bus while the
controller is suspended or to suspend the controller while the bus is
active.

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