projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132c57a
)
usb: dwc_otg: fix BUG: scheduling while atomic
author
lyz
<lyz@rock-chips.com>
Tue, 24 Jun 2014 01:02:18 +0000
(09:02 +0800)
committer
lyz
<lyz@rock-chips.com>
Tue, 24 Jun 2014 01:02:18 +0000
(09:02 +0800)
drivers/usb/dwc_otg_310/dwc_otg_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg_310/dwc_otg_hcd.c
b/drivers/usb/dwc_otg_310/dwc_otg_hcd.c
index e8b0ef56913fe79b5a87912e229d7aaa11e53dd7..825c14d283732840544cb7c6195a5feb0c20adbc 100755
(executable)
--- a/
drivers/usb/dwc_otg_310/dwc_otg_hcd.c
+++ b/
drivers/usb/dwc_otg_310/dwc_otg_hcd.c
@@
-515,8
+515,7
@@
int dwc_otg_hcd_urb_enqueue(dwc_otg_hcd_t *hcd,
}
DWC_SPINLOCK_IRQSAVE(hcd->lock, &flags);
retval =
- dwc_otg_hcd_qtd_add(qtd, hcd, (dwc_otg_qh_t **) ep_handle,
- atomic_alloc);
+ dwc_otg_hcd_qtd_add(qtd, hcd, (dwc_otg_qh_t **) ep_handle, 1);
if (retval < 0) {
DWC_ERROR("DWC OTG HCD URB Enqueue failed adding QTD. "