usb: renesas_usbhs: Add reset_control
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 11 Sep 2018 08:47:03 +0000 (17:47 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:38:25 +0000 (10:38 +0300)
commit26eef8e0115d12fc996750e288975ebba13b7a91
tree045f27e1705323ce37ca4aa9939d0864db95e3af
parent87dd96111b0bb8e616fcbd74dbf4bb4182f2c596
usb: renesas_usbhs: Add reset_control

R-Car Gen3 needs to deassert resets of both host and peripheral.
Since [eo]hci-platform is possible to assert the reset(s) when
the probing failed, renesas_usbhs driver doesn't work correctly
regardless of finished probing. To fix this issue, this patch adds
reset_control on this renesas_usbhs driver.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/common.h