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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Dec 2018 09:12:02 +0000 (11:12 +0200)
commit36b25b69c2c13ebe3d6f80c11de537cb7d1c43f0
treebdf5a8e769ddc49e0a1e672aa621806f780663ef
parent35a6054132286a4ab92b536595093b82e6bdfcbc
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.

Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Hsin-Yi, Wang <hsinyi@chromium.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_plat.c