diff options
| author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-09-07 14:00:39 +0800 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-10-02 10:39:02 +0300 |
| commit | adc23f16bcc56768500034cd2e398f60b120ee42 (patch) | |
| tree | 8463532ef2f21fc483f9108b0da69897bef33a92 /drivers/usb/gadget/udc | |
| parent | 794f97a4b964a5f9880529a561ab26ed781bca56 (diff) | |
| download | linux-adc23f16bcc56768500034cd2e398f60b120ee42.tar.gz linux-adc23f16bcc56768500034cd2e398f60b120ee42.tar.bz2 linux-adc23f16bcc56768500034cd2e398f60b120ee42.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: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/udc')
0 files changed, 0 insertions, 0 deletions
