]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: mtu3: fix ip sleep auto-exit issue when enable DRD mode
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 25 Jul 2017 08:10:24 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:25:55 +0000 (07:25 -0700)
commitb9582d2f1d408a2a8ea319f8bc384e874dfb7fdd
treeb3ba4257162ed872210fe8098fe8fede2800e096
parent14a4caa03ba53e66a500e36bf618dbf013cbab9d
usb: mtu3: fix ip sleep auto-exit issue when enable DRD mode

Ip sleep will auto exit if vbus comparison circuit of u2 phy is
disabled when system tries to enter suspend mode, so get vbus-valid
status from mac but not from u2 phy when enable DRD mode to fix
the issue.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_hw_regs.h