ARM: tegra: switch FUSE clock on before usage
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 21 Nov 2013 02:40:13 +0000 (11:40 +0900)
committerStephen Warren <swarren@nvidia.com>
Wed, 4 Dec 2013 19:24:22 +0000 (12:24 -0700)
FUSE clock is enabled by most bootloaders, but we cannot expect it to be
on in all contexts (e.g. kexec).

Ensure the FUSE clock is enabled before any of its registers is touched.
Since FUSE is touched very early during system boot (before the clock
devices are registered), directly manipulate the clock register bit in
case the clock device cannot be acquired.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/fuse.c

Simple merge