Ulf Hansson b1a665932d 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
2023-06-22 11:06:37 +02:00
..
2023-06-19 13:31:12 +02:00
2021-02-15 10:43:23 +01:00
2022-12-13 13:41:26 -08:00
2023-02-27 09:47:26 -08:00
2023-06-19 13:41:58 +02:00
2023-06-19 13:31:12 +02:00
2023-06-19 13:31:12 +02:00
2023-06-19 13:31:12 +02:00
2023-06-13 10:41:28 +02:00
2023-06-19 13:31:12 +02:00
2022-12-07 13:29:13 +01:00
2023-06-19 13:31:40 +02:00