diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-06-20 11:11:13 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-06-22 11:06:37 +0200 |
commit | b1a665932dc23cad0b8af2745cd9713f9e930d63 (patch) | |
tree | a4a75fe3768360097ab1d304137fcdf737c00633 /drivers/powercap/intel_rapl_msr.c | |
parent | mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019 (diff) | |
download | linux-b1a665932dc23cad0b8af2745cd9713f9e930d63.tar.xz linux-b1a665932dc23cad0b8af2745cd9713f9e930d63.zip |
mmc: mmci: Add support for SW busy-end timeouts
The ux500 variant doesn't have a HW based timeout to use for busy-end IRQs.
To avoid hanging and waiting for the card to stop signaling busy, let's
schedule a delayed work, according to the corresponding cmd->busy_timeout
for the command. If the work gets to run, let's kick the IRQ handler to
complete the currently running request/command.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20230620091113.33393-1-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/powercap/intel_rapl_msr.c')
0 files changed, 0 insertions, 0 deletions