usb/mtu3: power down device ip at setup
authorHsin-Yi, Wang <hsinyi@chromium.org>
Thu, 29 Nov 2018 03:16:27 +0000 (11:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 09:13:39 +0000 (10:13 +0100)
commit1e3af5dfd05c53b3dfd367af4c78ebbf60f6fb41
tree31318dcd207adacbc161cea7a27d9302bbb63b59
parente86108940e541febf35813402ff29fa6f4a9ac0b
usb/mtu3: power down device ip at setup

Originally, when dr_mode is USB_DR_MODE_HOST, it didn't power down device ip,
so host ip sleep will fail at ssusb_host_disable.

Power down device ip at ssusb_host_setup.

Signed-off-by: Hsin-Yi, Wang <hsinyi@chromium.org>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_plat.c