arm: tcc8k: Avoid reading clock register twice
authorOskar Schirmer <oskar@linutronix.de>
Thu, 17 Feb 2011 15:43:00 +0000 (16:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 11 Mar 2011 09:06:06 +0000 (10:06 +0100)
commit25d7a6003b5c76b735fdfc3dc5030d9d9c93844e
tree900c037d25bbaf88c0ef57dda0a02cf152142b09
parentfe03a9f7bb89e920e60fd1bb074adab2eed2bf48
arm: tcc8k: Avoid reading clock register twice

There is no reason why in case of PLL2 the configuration register
should be read twice, while for PLL0/1 using the value previously read
is used. Do the same for PLL2.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm/mach-tcc8k/clock.c