brcm63xx: prevent usb clock state inconsistency on BCM6318
authorJonas Gorski <jogo@openwrt.org>
Sun, 19 Jan 2014 13:45:42 +0000 (13:45 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 19 Jan 2014 13:45:42 +0000 (13:45 +0000)
commit52b7f55cb31dd477377301a0f37bf6efe100acc3
tree0929a98e9c0a4fb86c47607f3b6719c8193afab5
parentb6e1cbd8dd5b8fe3833547480abdbd57edb3238c
brcm63xx: prevent usb clock state inconsistency on BCM6318

Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

clk_enable(usbh); <- usbh->usage = 1, enabled
clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39321
target/linux/brcm63xx/patches-3.10/346-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch