summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-02-11 15:59:54 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-02 11:33:08 +0300
commit4caf653a55210dfc1c024d88e5148148f64802ad (patch)
tree63608163b087549062da6a914e08bd25a6ed62fb /tools/perf/scripts/python/call-graph-from-postgresql.py
parent88ac2a2c30468bb9f750170d92f7dd1ab91ddcbb (diff)
downloadlinux-4caf653a55210dfc1c024d88e5148148f64802ad.tar.xz
mmc: sh_mmcif: Restructure ->set_ios()
Both from a runtime PM and clock management point of view, the ->set_ios() code is unnecessary complex. A suboptimal path is also executed when the mmc core requests a clock rate of zero. As that happens during the card initialization phase, trying to save power by decreasing the runtime PM usage count and gating the clock via clk_disable_unprepare() is just superfluous. Moreover, from a runtime PM point of view the core will anyway keep the device active during the entire card initialization phase. Restructure the code to rely on the ios->power_mode to understand when the runtime PM usage count needs to be increased. Let's also deal with clock rate changes by simply applying the rate. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions