aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBenoit Cousson <[email protected]>2011-07-10 05:56:30 -0600
committerPaul Walmsley <[email protected]>2011-07-10 05:56:30 -0600
commit11b10341bd12c87a8409c69cdcd7ee898400842f (patch)
treeec54a29bcc1ff21bdab8f39571eeb32774fb8b18 /tools/perf/util/scripting-engines/trace-event-python.c
parentd0f0631ddc61026dca71b5b679803000d70fde50 (diff)
OMAP: hwmod: Wait the idle status to be disabled
It is mandatory to wait for a module to be in disabled state before potentially disabling source clock or re-asserting a reset. omap_hwmod_idle and omap_hwmod_shutdown does not wait for the module to be fully idle. Add a cm_xxx accessor to wait the clkctrl idle status to be disabled. Fix hwmod_[idle|shutdown] to use this API. Based on Rajendra's initial patch. Please note that most interconnects hwmod will return one timeout because it is impossible for them to be in idle since the processor is accessing the registers though the interconnect. Signed-off-by: Benoit Cousson <[email protected]> Signed-off-by: Rajendra Nayak <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Todd Poynor <[email protected]> [[email protected]: move cpu_is_*() tests to the top of _wait_target_disable(); incorporate some feedback from Todd] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions