]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP3: clock: fix incorrect rate display when switching MPU rate at boot
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:08:14 +0000 (21:08 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:08:14 +0000 (21:08 -0700)
commit2788dfdb83fd3d65e902d936365bf9d1f998d6f1
tree5e8e6fbee8090dda6dd4115c9cde9a1d3f301c94
parent021c87fb878b4be5cb74e7b7b0fcdf8cfc14c23e
OMAP3: clock: fix incorrect rate display when switching MPU rate at boot

The OMAP3 clock code contains some legacy code to allow the MPU rate
to be specified as a kernel command line parameter.  If the 'mpurate'
parameter is specified, the kernel will attempt to switch the MPU rate
to this rate during boot.  As part of this process, a short message
"Switched to new clocking rate" is generated -- and in this message,
the "Core" clock rate and "MPU" clock rate are transposed.

This patch ensures that the clock rates are displayed in the correct
order.

Thanks to Bruno Guerin <br.guerin@free.fr> for reporting this bug and
proposing a fix.  Thanks to Richard Woodruff <r-woodruff2@ti.com> for
reviewing the problem and passing the report on.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Bruno Guerin <br.guerin@free.fr>
Cc: Richard Woodruff <r-woodruff2@ti.com>
arch/arm/mach-omap2/clock3xxx.c