usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is in use
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 8 Jun 2018 02:23:41 +0000 (19:23 -0700)
committerMarek Vasut <marex@denx.de>
Wed, 13 Jun 2018 05:33:42 +0000 (07:33 +0200)
commit11bb62768de4c1508202ce9dd572f17fc3d95779
treea477d6a3e39cb6762786900f36a431e0cdfc0c14
parent56830cee3a2ffca3e062cd5c73a071b51e2055ff
usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is in use

On A64 OHCI1 clock source is OHCI0 clock, so we need to enable OHCI0
clock when OHCI1 is in use.

Fixes commit dd3228170ad7 ("usb: sunxi: Switch to use generic-phy")

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
drivers/usb/host/ohci-sunxi.c