OSDN Git Service

ARM: OMAP2+: omap_device: remove warning that clk alias already exists
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
commit9a02ae4ed4ee139053d554ca1ab7d0e16609a0f5
tree25c7f40cce671d379d32237e107cd78da46fec52
parent6953faf976c79a48b778a95319b8314419f7726b
ARM: OMAP2+: omap_device: remove warning that clk alias already exists

When an alias for a clock already exists the warning is printed. For
every module with a main_clk defined, a clk alias for fck is added.
There are some components that have the same main_clk defined, so this
is a really normal situation.

For example the am33xx edma device has 4 components using the same main
clock. So there are three warnings in the boot log for this already
existing clock alias:
platform 49000000.edma: alias fck already exists
platform 49000000.edma: alias fck already exists
platform 49000000.edma: alias fck already exists

As this is only interesting for developers, this patch changes the
message to a debug message.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_device.c