From 9649c829df1e8f09ccecedd52f2f9f875b594c5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 11 Aug 2010 19:25:48 +0800 Subject: [PATCH] =?utf8?q?dwc=5Fotg:=20=E6=B7=BB=E5=8A=A0=E7=BC=BA?= =?utf8?q?=E5=A4=B1=E7=9A=84SPIN=5FUNLOCK=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?utf8?q?=E6=8B=94=E5=87=BAUSB=E6=97=B6=EF=BC=8C=E6=AD=BB=E5=9C=A8=5F=5Fi?= =?utf8?q?rq=5Fusr=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- drivers/usb/dwc_otg/dwc_otg_pcd_intr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c index c2ec5d68ee39..9b7c83d9c116 100755 --- 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", -- 2.34.1