]> err.no Git - linux-2.6/commit
[ARM] 4154/1: AT91: Clock update
authorAndrew Victor <andrew@sanpeople.com>
Thu, 8 Feb 2007 16:36:34 +0000 (17:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Feb 2007 20:47:33 +0000 (20:47 +0000)
commitc9b75d132261096ac1170354b9e27837af76a512
treefc139d2f1becd9f289f41b7de04c0c7366f4cfbe
parent93a3ddc201c501146c896d598deb61f3abbe4ab0
[ARM] 4154/1: AT91: Clock update

Unconditionally disabling the PCKs (Programmable Clocks) is not a good
idea as it breaks boards that depend on those clocks being enabled by
bootloaders.
Therefore only disable unused clocks late in the init process, giving
the board init code the chance to claim the clock.

Patch from Steven Scholz.

Since the HCK clocks on SAM9261 are already being registered as a
independent clocks, we don't need the special case for HCK0 on the
SAM9261.  Platform-init code and drivers should use the clock API to
enable/disable the clock.

Patch from Nicolas Ferre.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/clock.c