diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-08-29 10:36:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 20:09:09 +0200 |
commit | 0eae49582b4dee1a0e96007e1dea5122db98371a (patch) | |
tree | 645922ba6660c5d15180d39b5cd955c719becfee /drivers/usb/core | |
parent | 1973d029d6e91c2e364492a01e53cc8e7cc66b34 (diff) | |
download | talos-obmc-linux-0eae49582b4dee1a0e96007e1dea5122db98371a.tar.gz talos-obmc-linux-0eae49582b4dee1a0e96007e1dea5122db98371a.zip |
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>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions