usb: dwc2: gadget: don't modify pullup status during reset
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 30 Jan 2015 08:09:33 +0000 (09:09 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 30 Jan 2015 16:32:59 +0000 (10:32 -0600)
Pullup doesn't need to be enabled during usb reset since it is
already enabled. This leads to shorter chirp-k duration if done
during usb reset.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c

index 3cf9c6a5e2c78a532251c69cc85c4582e4f00664..50903003f4d9669698160ca52b1ee5fad87dc721 100644 (file)
@@ -2492,7 +2492,6 @@ irq_retry:
                                                          -ECONNRESET);
 
                                s3c_hsotg_core_init_disconnected(hsotg, true);
-                               s3c_hsotg_core_connect(hsotg);
                        }
                }
        }