]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
usb: xhci: Set XHCI Light Reset for DWC3_OTG mode
authorManish Narani <manish.narani@xilinx.com>
Thu, 23 Mar 2017 10:26:13 +0000 (15:56 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 24 Mar 2017 08:02:00 +0000 (09:02 +0100)
commite88e772fb46f2f2f5912502c45b2ae718e810aa6
treea6050abb59ae406c4893b2670293406c86a53868
parentb554d9c73addd465b1c6a7ed923f55aaa0e37660
usb: xhci: Set XHCI Light Reset for DWC3_OTG mode

This Patch corrects the XHCI reset for OTG mode. The host cannot
have Hard Reset while in OTG mode because that will affect the
OTG peripheral mode event buffers and it will not function.

The macro for OTG is USB_DWC3_OTG not USB_DWC3_DUAL_ROLE. This patch
corrects the same.

Signed-off-by: Manish Narani <mnarani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/host/xhci.c