projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d229266
)
OMAP: hwmod: warn on missing clockdomain
author
Kevin Hilman
<khilman@deeprootsystems.com>
Tue, 8 Dec 2009 23:34:24 +0000
(16:34 -0700)
committer
paul
<paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:44 +0000
(17:00 -0700)
WARN if a clock/hwmod is missing a clockdomain association since
resulting hwmod will not be able to correctly enable/disable clocks.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod.c
b/arch/arm/mach-omap2/omap_hwmod.c
index bfbd34142b3798b80e5ced6bfa9fca077f5c4700..d8c8545875b18b84aa89449ffa87911d687d129e 100644
(file)
--- a/
arch/arm/mach-omap2/omap_hwmod.c
+++ b/
arch/arm/mach-omap2/omap_hwmod.c
@@
-353,6
+353,9
@@
static int _init_main_clk(struct omap_hwmod *oh)
ret = -EINVAL;
oh->_clk = c;
+ WARN(!c->clkdm, "omap_hwmod: %s: missing clockdomain for %s.\n",
+ oh->clkdev_con_id, c->name);
+
return ret;
}