f9ee4e7af8c9c9fe18eeb8ef5b2988a19945f11e
[openwrt.git] / target / linux / lantiq / patches-3.2 / 0048-dwc_otg-remove-bogus-halt_channel.patch
1 From 604835c84e9854d347a43b736b047d9789f19a00 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Fri, 23 Mar 2012 16:14:33 +0100
4 Subject: [PATCH 48/73] dwc_otg: remove bogus halt_channel
5
6 https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014524.html
7 ---
8  drivers/usb/dwc_otg/dwc_otg_hcd_intr.c |    2 --
9  1 files changed, 0 insertions(+), 2 deletions(-)
10
11 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
12 index 834b5e0..f6f3f3d 100644
13 --- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
14 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
15 @@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_otg_hcd_t *_hcd,
16                          * automatically executes the PING, then the transfer.
17                          */
18                     halt_channel(_hcd, _hc, _qtd, DWC_OTG_HC_XFER_ACK, must_free);
19 -               } else {
20 -                   halt_channel(_hcd, _hc, _qtd, _hc->halt_status, must_free);
21                 }
22         }
23  
24 -- 
25 1.7.9.1
26