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:
a9617e0
)
dwc_otg: 添加缺失的SPIN_UNLOCK,解决拔出USB时,死在__irq_usr的问题
author
黄涛
<huangtao@rock-chips.com>
Wed, 11 Aug 2010 11:25:48 +0000
(19:25 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 11 Aug 2010 11:25:48 +0000
(19:25 +0800)
drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
b/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
index c2ec5d68ee3964f4c8a9ef9bd606c51ec1d1a7a4..9b7c83d9c11624ea38d7d6f37f09b624098eade2 100755
(executable)
--- a/
drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
+++ b/
drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
@@
-2567,6
+2567,7
@@
int32_t dwc_otg_pcd_handle_intr( dwc_otg_pcd_t *_pcd )
gintr_status.d32 = dwc_otg_read_core_intr(core_if);
if (!gintr_status.d32)
{
+ SPIN_UNLOCK(&_pcd->lock);
return 0;
}
DWC_DEBUGPL(DBG_PCDV, "%s: gintsts&gintmsk=%08x\n",