See patch 1 for a description of the problem. This series implements the alternative approach suggested by Adrian (thanks!). It also adds some documentation and a minor cleanup which I came up with while working on the fix. Patch 1 can go to stable as is, the rest built on top of that. This series fixes the performance issue which we saw when injecting CRC errors on Renesas R-Car Gen3 hardware. Looking forward to comments! Wolfram Sang (3): mmc: core: clear flags before allowing to retune mmc: host: add kdoc for mmc_retune_{en|dis}able mmc: host: factor out clearing the retune state drivers/mmc/core/core.c | 6 ++++-- drivers/mmc/core/host.c | 13 +++++++++++-- drivers/mmc/core/host.h | 6 ++++++ 3 files changed, 21 insertions(+), 4 deletions(-) -- 2.30.2