diff options
| author | Sahitya Tummala <stummala@codeaurora.org> | 2015-02-05 12:34:52 +0530 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-28 15:14:50 +0200 |
| commit | 03356ea7b3d1e8be99e894f271a15d17076a2053 (patch) | |
| tree | 083723322bb285bff66404abe796e91a0b65ad95 /scripts | |
| parent | 1d0dc70511de207883ce0252801a77b796ec196f (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 from mmc_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: I522df75ba0ad23f065127e015ad825075be94596
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
