summaryrefslogtreecommitdiff
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2017-04-28 13:07:37 +0530
committerVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2017-04-28 13:52:58 +0530
commit4c2bdc58793f9f252e8c84de09f182e5a09e73fc (patch)
tree19649a26ee575907794b4bf6d4aee61aa829cdb7 /drivers/md/raid1.c
parent0abd412d833e1f914d366a89d533bcb5cd6be7c7 (diff)
mmc: core: Update the logic of controlling clk scaling through sysfs
mmc clock scaling can be disabled/enabled through sysfs. The present logic in this path deregisters/registers with devfreq every time. Instead of this, we can simply suspend/resume the clock scaling when requested for disabling/enabling clock scaling. This patch updates the mentioned logic. With original logic, observed deadlock between devfreq registration and cmdqd thread in low memory conditions. The updated logic fixes this deadlock condition aswell. Change-Id: Ifee1ffbe24b13b8f5dc1c9f0579ce9ddf4b4faf3 Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions