diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-11-18 20:51:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 20:55:25 +0100 |
commit | 47e9760529a9823be59d879f726acdc7e2fcbe11 (patch) | |
tree | d9c5d1ac662e0bd54c0b3a0fd40639ddcf4b177d /drivers/usb/musb/musb_gadget.h | |
parent | USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again (diff) | |
download | linux-47e9760529a9823be59d879f726acdc7e2fcbe11.tar.xz linux-47e9760529a9823be59d879f726acdc7e2fcbe11.zip |
USB: musb_gadget: implement set_wedge() method
Implement the driver's set_wedge() method by adding the 'wedged' flag
to the 'struct musb_ep'.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.h')
-rw-r--r-- | drivers/usb/musb/musb_gadget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_gadget.h b/drivers/usb/musb/musb_gadget.h index 59502da9f739..90966695ae53 100644 --- a/drivers/usb/musb/musb_gadget.h +++ b/drivers/usb/musb/musb_gadget.h @@ -75,6 +75,8 @@ struct musb_ep { /* later things are modified based on usage */ struct list_head req_list; + u8 wedged; + /* true if lock must be dropped but req_list may not be advanced */ u8 busy; }; |