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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b6a49b8490
commit
c48a515525
@@ -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
|
||||
|
Reference in New Issue
Block a user