diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2018-02-05 07:50:14 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-03-05 03:00:56 -0500 |
commit | 300df508c806c0b0446f075bc7658f0fefa1b701 (patch) | |
tree | 6a983a91d13afdd8f24f8670129da19187ab4ddf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff) |
mmc: sdhci-omap: Update 'power_mode' outside sdhci_omap_init_74_clocks
Updating 'power_mode' in sdhci_omap_init_74_clocks results in
'power_mode' never updated to MMC_POWER_OFF during card
removal. This results in initialization sequence not sent to the
card during re-insertion.
Fix it here by adding sdhci_omap_set_power_mode to update power_mode.
This function can also be used later to perform operations that
are specific to a power mode (e.g, disable tuning during power off).
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions