浏览代码

usb: dwc2: gadget: don't modify pullup status during reset

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>
Gregory Herrero 10 年之前
父节点
当前提交
86e37bf9f5
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/dwc2/gadget.c

+ 0 - 1
drivers/usb/dwc2/gadget.c

@@ -2492,7 +2492,6 @@ irq_retry:
 							  -ECONNRESET);
 							  -ECONNRESET);
 
 
 				s3c_hsotg_core_init_disconnected(hsotg, true);
 				s3c_hsotg_core_init_disconnected(hsotg, true);
-				s3c_hsotg_core_connect(hsotg);
 			}
 			}
 		}
 		}
 	}
 	}