diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2008-11-24 11:06:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 18:00:01 (GMT) |
commit | c48a5155252fd9cba7bedc59e5f8a339a3454d58 (patch) | |
tree | 6de25e14731e56ba0ddf5b07d137237be40e9ba5 /drivers/usb/musb/musb_core.h | |
parent | b6a49b8490fe6f22f0027a3f05eb498918f09303 (diff) | |
download | linux-fsl-qoriq-c48a5155252fd9cba7bedc59e5f8a339a3454d58.tar.xz |
USB: musb: check if set_irq_wake succeded and remember it
Without it, in platforms that don't provide irq_chip.set_wake(),
like omap, musb will WARN() on driver removal.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index b3d6050..d45d258 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -359,6 +359,7 @@ struct musb { struct otg_transceiver xceiv; int nIrq; + unsigned irq_wake:1; struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; #define control_ep endpoints |