mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
dwc_otg: 添加缺失的SPIN_UNLOCK,解决拔出USB时,死在__irq_usr的问题
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user