summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2013-05-23 15:59:22 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-27 10:28:40 -0700
commit165bd22b550bdf0353299045c562fd675bc4a8b7 (patch)
tree145b8e5ee4a4848ced16bfe1eccf66994ebfd84c /android
parent27212a9a828eacf9380fec5b8352676328af126d (diff)
mmc: sdhci-msm: Vote for MSM bus clocks before enabling iface_clk
The current driver just enables "iface_clk" before accessing its registers but MSM bus clocks are also required for register access without which any register access would result in chip reset. The MSM bus clocks can be enabled by setting vote to MSM bus bandwidth driver. Currently, voting is being done in sdhci_enable/disable but these functions will not be invoked by MMC core layer for some cases such as mmc_power_up/mmc_power_off, which require peripheral register access. To resolve the above mentioned problem, bus voting and de-voting will now be done as part of clock management within the sdhci MSM driver i.e., before enabling SDHC clocks and after disabling SDHC clocks. Change-Id: Iff608fba4c58bf37a6f4ce8eb36876c79969feaf Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions