diff options
| author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-08-29 05:36:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 21:09:09 +0300 |
| commit | 0eae49582b4dee1a0e96007e1dea5122db98371a (patch) | |
| tree | 645922ba6660c5d15180d39b5cd955c719becfee /scripts/gdb/linux/utils.py | |
| parent | 1973d029d6e91c2e364492a01e53cc8e7cc66b34 (diff) | |
| download | linux-0eae49582b4dee1a0e96007e1dea5122db98371a.tar.xz | |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
