commit | d5647c18eac9a313a89a3049a9fff51b20021a44 | [log] [tgz] |
---|---|---|
author | Thara Gopinath <thara@ti.com> | Wed Mar 31 04:16:29 2010 -0600 |
committer | Paul Walmsley <paul@pwsan.com> | Wed Mar 31 04:16:29 2010 -0600 |
tree | 41b7e06a65b6d51ff02f02a4fd2221f84dcd1c88 | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 [diff] |
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>