diff options
author | Kevin | 2014-11-15 10:00:36 +0800 |
---|---|---|
committer | Kevin | 2014-11-15 10:00:36 +0800 |
commit | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch) | |
tree | de942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/drivers/usb/host/ehci-q.c | |
parent | 392e8802486cb573b916e746010e141a75f507e6 (diff) | |
download | FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2 FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip |
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/drivers/usb/host/ehci-q.c')
-rw-r--r-- | ANDROID_3.4.5/drivers/usb/host/ehci-q.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ANDROID_3.4.5/drivers/usb/host/ehci-q.c b/ANDROID_3.4.5/drivers/usb/host/ehci-q.c index 36ca5077..9e11e38a 100644 --- a/ANDROID_3.4.5/drivers/usb/host/ehci-q.c +++ b/ANDROID_3.4.5/drivers/usb/host/ehci-q.c @@ -286,7 +286,12 @@ __acquires(ehci->lock) status, urb->actual_length, urb->transfer_buffer_length); #endif - + /*{CharlesTu, 2008.12.26, for test mode */ +#ifdef CONFIG_USB_EHCI_EHSET + if (likely(urb->transfer_flags == URB_HCD_DRIVER_TEST)) + return; +#endif + /*CharlesTu}*/ /* complete() can reenter this HCD */ usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); spin_unlock (&ehci->lock); |