diff options
author | Chaotian Jing <chaotian.jing@mediatek.com> | 2020-12-18 15:16:11 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:54:43 +0100 |
commit | 0354ca6edd464a2cf332f390581977b8699ed081 (patch) | |
tree | 2afca77177f348b5458f106e53a4c4a9c9bdc0d9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 69e7d76afdb54243df957351804c0f1afca46d0f (diff) |
mmc: mediatek: fix race condition between msdc_request_timeout and irq
when get request SW timeout, if CMD/DAT xfer done irq coming right now,
then there is race between the msdc_request_timeout work and irq handler,
and the host->cmd and host->data may set to NULL in irq handler. also,
current flow ensure that only one path can go to msdc_request_done(), so
no need check the return value of cancel_delayed_work().
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Link: https://lore.kernel.org/r/20201218071611.12276-1-chaotian.jing@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions