summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPavan Anamula <pavana@codeaurora.org>2015-08-24 20:15:16 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:17 -0700
commit35cf59211f338f275a1a8ed7eb9c66771547241d (patch)
tree78426aa36185057036f649243b7352b563848f4c /include/linux/debugobjects.h
parent0b56648089c3e1ad0fe211c772f86544281a1bd5 (diff)
mmc: core: fix race between mmc_power_off and mmc_power_up
In case card detect IRQ is triggered before mmc_add_host(), then there could be a potential race between mmc_power_off() which gets called frommmc_rescan() of card detect IRQ handler and mmc_start_host() which gets called from mmc_add_host(). This may turn off the clocks while mmc_start_host() is still running and thus may result in an un-clocked register access. Change-Id: I90ff99fb8e018b00600bf18197a2bcaf83ff1bc4 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Pavan Anamula <pavana@codeaurora.org> [subhashj@codeaurora.org: fixed merge conflicts, removed 2nd pair of mmc_claim_host/mmc_remove_host calls from mmc_start_host] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions