ARM: Orion: EHCI: Add support for enabling clocks
authorAndrew Lunn <andrew@lunn.ch>
Sun, 15 Apr 2012 10:53:47 +0000 (12:53 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 May 2012 23:33:59 +0000 (16:33 -0700)
commit8c869edaee07c623066266827371235fb9c12e01
treef7fc9da52e9a0ca79368d2033434e3fd551f1642
parenteee989902aab45f0ca2739727ef615420802649c
ARM: Orion: EHCI: Add support for enabling clocks

Not all platforms support gating the clock, so it is not an error if
the clock does not exist. However, if it does exist, we should
enable/disable it as appropriate.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-kirkwood/common.c
drivers/usb/host/ehci-orion.c