linux_dsm_epyc7002/drivers/usb/mtu3
Chunfeng Yun 0eae49582b usb: mtu3: disable vbus rise/fall interrupts of ltssm
The vbus rise & fall interrupts are used to enable and disable
U3 function of device automatically, this cause some issues when
class driver is initialized as deactivated, and will skip over
software-controlled connect by pullup(), but UDC wants to keep
disconnect until usb_gadget_activate() is called which calls
pullup() if needed. So we disable vbus rise & fall interrupts
and just use pullup() to enable & disable U3 function, and reset
mtu3 state when disconnect instead when vbus fall.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-10 20:09:09 +02:00
..
Kconfig usb: changes for v4.18 merge window 2018-05-24 17:46:53 +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: disable vbus rise/fall interrupts of ltssm 2018-09-10 20:09:09 +02:00
mtu3_dr.c USB: mtu3: no need to check return value of debugfs_create_dir() 2018-05-31 12:54:21 +02: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 sleep in atomic context when enter test mode 2018-05-24 18:09:37 +02:00
mtu3_gadget.c usb: mtu3: disable vbus rise/fall interrupts of ltssm 2018-09-10 20:09:09 +02: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 warning of sleep in atomic context in notifier callback 2018-05-24 18:09:37 +02:00