diff options
Diffstat (limited to 'drivers/usb/chipidea/otg.h')
-rw-r--r-- | drivers/usb/chipidea/otg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/otg.h b/drivers/usb/chipidea/otg.h index 95fa6c2b675a..ba73a2ad59cb 100644 --- a/drivers/usb/chipidea/otg.h +++ b/drivers/usb/chipidea/otg.h @@ -23,7 +23,7 @@ static inline void ci_otg_queue_work(struct ci_hdrc *ci) { if (ci->wq) { disable_irq_nosync(ci->irq); - if (!queue_work(ci->wq, &ci->work)) + if (queue_work(ci->wq, &ci->work) == false) enable_irq(ci->irq); } else { WARN_ON(!ci->wq); |