]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Display correct system timer name
authorJon Hunter <jon-hunter@ti.com>
Tue, 29 Jan 2013 19:55:25 +0000 (13:55 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:48:14 +0000 (13:48 -0500)
commit42b19f65325f4725af22a263ee09b279c430a775
treefc21da31b789d4428d097a635333f261f7afbd9e
parent756f7d2dc0d563319d65abbc7dee65e04ca85bf8
ARM: OMAP2+: Display correct system timer name

Currently on boot, when displaying the name of the gptimer used for
clockevents and clocksource timers, the timer ID is shown. However,
when booting with device-tree, the timer ID is not used to select a
gptimer but a timer property. Hence, it is possible that the timer
selected when booting with device-tree does not match the ID shown.
Therefore, instead display the HWMOD name of the gptimer and use
the HWMOD name as the name of clockevent and clocksource timer (if a
gptimer is used).

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/timer.c