USB: musb: check if set_irq_wake succeded and remember it
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 24 Nov 2008 11:06:53 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:01 +0000 (10:00 -0800)
commitc48a5155252fd9cba7bedc59e5f8a339a3454d58
tree6de25e14731e56ba0ddf5b07d137237be40e9ba5
parentb6a49b8490fe6f22f0027a3f05eb498918f09303
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>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_core.h