aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRajendra Nayak <[email protected]>2010-12-21 21:31:28 -0700
committerPaul Walmsley <[email protected]>2010-12-21 21:31:28 -0700
commitf2dd7e09db3e18e4c053810b72fe026685d9bf0c (patch)
tree7ca4e95f815a2ed11bba2a518a7cbf12b3e93017 /include/linux/debugobjects.h
parentce35b2446945c506cb02960eab2072f56efdf1c0 (diff)
OMAP2+: hwmod: Disable clocks when hwmod enable fails
In cases where a module (hwmod) does not become accesible on enabling the main clocks (can happen if there are external clocks needed for the module to become accesible), make sure the clocks are not left enabled. This ensures that when the requisite external dependencies are met a omap_hwmod_enable and omap_hwmod_idle/shutdown would rightly enable and disable clocks using clk framework. Leaving the clocks enabled in the error case causes additional usecounting at the clock framework level leaving the clock enabled forever. Signed-off-by: Rajendra Nayak <[email protected]> Signed-off-by: Benoit Cousson <[email protected]> Signed-off-by: Paul Walmsley <[email protected]> Cc: Kevin Hilman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions