]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24fa199e150782d41788c3acf56e340d2e8cdc64
tree900c037d25bbaf88c0ef57dda0a02cf152142b09
parent67c70fbfee21886104cd56f265f6dbd4d1e5fb27
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