git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d7747
)
MUSB: Enable the TUSB irq signal as a wake event source
author
David Brownell
<dbrownell@users.sourceforge.net>
Fri, 8 Sep 2006 07:52:17 +0000
(10:52 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 8 Sep 2006 07:52:17 +0000
(10:52 +0300)
Enable the TUSB irq signal as a wake event source.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/plat_uds.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/plat_uds.c
b/drivers/usb/musb/plat_uds.c
index
919fd0c
..
4f85924
100644
(file)
--- a/
drivers/usb/musb/plat_uds.c
+++ b/
drivers/usb/musb/plat_uds.c
@@
-1525,8
+1525,10
@@
static void musb_free(struct musb *musb)
musb_gadget_cleanup(musb);
#endif
- if (musb->nIrq >= 0)
+ if (musb->nIrq >= 0) {
+ disable_irq_wake(musb->nIrq);
free_irq(musb->nIrq, musb);
+ }
if (is_dma_capable() && musb->pDmaController) {
struct dma_controller *c = musb->pDmaController;
@@
-1648,6
+1650,7
@@
musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
status = -ENODEV;
goto fail2;
}
+ (void) enable_irq_wake(nIrq);
pThis->nIrq = nIrq;
device_init_wakeup(dev, 1);