summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.2/0049-dwc_otg-remove-bogus-halt_channel.patch
blob: 0a4d817afda609f387a8798e14ab9c185f9a818c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 7f73b86b26fc58e0513a792533b7e11450aa0737 Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Fri, 23 Mar 2012 16:14:33 +0100
Subject: [PATCH 49/70] dwc_otg: remove bogus halt_channel

https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014524.html
---
 drivers/usb/dwc_otg/dwc_otg_hcd_intr.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
index 834b5e0..f6f3f3d 100644
--- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
+++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
@@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_otg_hcd_t *_hcd,
 			 * automatically executes the PING, then the transfer.
 			 */
 		    halt_channel(_hcd, _hc, _qtd, DWC_OTG_HC_XFER_ACK, must_free);
-		} else {
-		    halt_channel(_hcd, _hc, _qtd, _hc->halt_status, must_free);
 		}
 	}
 
-- 
1.7.7.1