From f3e0459c29d608b743851d555a0deb205cb2b798 Mon Sep 17 00:00:00 2001 From: lyz Date: Wed, 31 Jul 2013 15:17:23 +0800 Subject: [PATCH] usb : fix pannic --- drivers/usb/dwc_otg/dwc_otg_hcd_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c index 524ce16943c7..dae2888d21a9 100755 --- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c @@ -1588,7 +1588,7 @@ static int32_t handle_hc_xacterr_intr(dwc_otg_hcd_t *_hcd, DWC_PRINT("%s qtd %p\n", __func__, _qtd); goto out; } - if(((uint32_t) _qtd & 0x80000000)==0){ + if(((uint32_t) _qtd & 0xf0000000)==0xf0000000){ DWC_PRINT("%s qtd %p 1\n", __func__, _qtd); goto out; } -- 2.34.1