mirror_ubuntu-kernels/drivers/usb/mtu3
Chunfeng Yun 11254eb2de usb: mtu3: fix an unrecognized issue when connected with PC
When boot on the platform with the USB cable connected to Win7,
the Win7 will pop up an error dialog: "USB Device not recognized",
but finally the Win7 can enumerate it successfully.
The root cause is as the following:
When the xHCI driver set PORT_POWER of the OTG port, and if both
IDPIN and VBUS_VALID are high at the same time, the MTU3 controller
will set SESSION and pull up DP, so the Win7 can detect existence
of USB device, but if the mtu3 driver can't switch to device mode
during the debounce time, the Win7 can not enumerate it.
Here to fix it by removing the 1s delayed EXTCON register to speed up
mode switch.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-05-15 10:14:59 +03:00
..
Kconfig usb: mtu3: dual-role mode support 2016-10-27 17:02:41 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtu3_core.c USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3_dr.c usb: mtu3: fix an unrecognized issue when connected with PC 2018-05-15 10:14:59 +03:00
mtu3_dr.h usb: mtu3: fix ssusb_wakeup_set dummy 2018-01-16 10:01:01 +01:00
mtu3_gadget_ep0.c usb: mtu3: avoid TX data length truncated in SS/SSP mode 2018-05-15 10:14:56 +03:00
mtu3_gadget.c usb: mtu3: remove repeated setting of gadget state 2018-05-15 10:14:57 +03:00
mtu3_host.c usb: mtu3: fix semicolon.cocci warnings 2018-01-16 10:01:01 +01:00
mtu3_hw_regs.h USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3_plat.c usb: mtu3: simplify getting .drvdata 2018-05-15 10:11:08 +03:00
mtu3_qmu.c USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3_qmu.h USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3.h usb: mtu3: fix an unrecognized issue when connected with PC 2018-05-15 10:14:59 +03:00