]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod code: convert missing clockdomain warnings to debug messages
authorPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:18 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:18 +0000 (17:28 -0600)
commit724a1e77cdf618f0808245aed3fe64bc1182dc72
tree301199700198534b01c45159bbdc9ebe54122773
parentcc0d9bbff1feeb1f81cb2d60af9b69f0b4456eb9
ARM: OMAP2+: hwmod code: convert missing clockdomain warnings to debug messages

The decision was made a few months ago to allow struct omap_hwmod
records and struct clk records to omit clockdomain information if the
clockdomain is not software-controllable.  See for example commit
0900fbcc2d7e91d0fca4380693ac7b0724c24a42 ("ARM: OMAP2+: hwmod: remove
prm_clkdm, cm_clkdm; allow hwmods to have no clockdomain").

So convert an existing pr_warning() to a pr_debug() (regarding missing
clockdomains in clocks), and add a pr_debug() for missing hwmod
clockdomains.  It's still useful to enable these messages for
debugging, since missing clockdomains can cause hard-to-debug problems
with power management; see for example commit
b5d00514d21b3d9ac95b75b05e06600a78f0ed39 ("ARM: OMAP4: clock data:
Force a DPLL clkdm/pwrdm ON before a relock").

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod.c