]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: queue: Cancel recovery work on cleanup
authorChristian Löhle <CLoehle@hyperstone.com>
Fri, 7 Oct 2022 15:43:52 +0000 (15:43 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Oct 2022 09:51:33 +0000 (11:51 +0200)
commit4825361d5e3f81ed230b9803a29e750043e411e0
treee765bcb8e06ab129c69d9132220318010cedc577
parent085b8fa5e1fe5a3011ba1ede60358f0b3b77b001
mmc: queue: Cancel recovery work on cleanup

To prevent any recovery work running after the queue cleanup cancel it.
Any recovery running post-cleanup dereferenced mq->card as NULL
and was not meaningful to begin with.

Cc: stable@vger.kernel.org
Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/c865c0c9789d428494b67b820a78923e@hyperstone.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/queue.c