summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/omap_hwmod.h
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-03-31 04:16:29 -0600
committerPaul Walmsley <paul@pwsan.com>2010-03-31 04:16:29 -0600
commitd5647c18eac9a313a89a3049a9fff51b20021a44 (patch)
tree41b7e06a65b6d51ff02f02a4fd2221f84dcd1c88 /arch/arm/plat-omap/include/plat/omap_hwmod.h
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff)
downloadlinux-d5647c18eac9a313a89a3049a9fff51b20021a44.tar.gz
linux-d5647c18eac9a313a89a3049a9fff51b20021a44.tar.bz2
linux-d5647c18eac9a313a89a3049a9fff51b20021a44.zip
OMAP: HWMOD: Adding clockdomain check
This patch adds check for presence of clockdomain structure in the API omap_hwmod_get_pwrdm before trying to access the powerdomain structure. This will prevent unnecessary crashing of the system in case of a clock node with out an associated clockdomain. Signed-off-by: Thara Gopinath <thara@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/omap_hwmod.h')
0 files changed, 0 insertions, 0 deletions