summaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>2020-08-22 11:45:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-10 10:23:53 +0100
commit9ab6e78230acf1e3d25c858cbc59d6829fdfcdd8 (patch)
tree40e5e46ea47c9d8377e29f43f8b28f8b3dedd194 /init/Kconfig
parent338a4c01239f7bb582d1103e5ecb6b506e9d7d69 (diff)
mmc: via-sdmmc: Fix data race bug
[ Upstream commit 87d7ad089b318b4f319bf57f1daa64eb6d1d10ad ] via_save_pcictrlreg() should be called with host->lock held as it writes to pm_pcictrl_reg, otherwise there can be a race condition between via_sd_suspend() and via_sdc_card_detect(). The same pattern is used in the function via_reset_pcictrl() as well, where via_save_pcictrlreg() is called with host->lock held. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> Link: https://lore.kernel.org/r/20200822061528.7035-1-madhuparnabhowmik10@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions