Field Firmware Update (ffu) may use close-ended or open ended sequence. Each such sequence is comprised of a write commands enclosed between 2 switch commands - to and from ffu mode. Some platforms generate auto command error interrupt when it shouldn't, e.g. auto-cmd12 while in close-ended ffu sequence. Therefore, add a quirk that disable auto-cmd12 while close-ended ffu is in progress. I encounterd this issue while testing fwupd (github.com/fwupd/fwupd) on HP Chromebook x2, a qualcomm based QC-7c, code name - strongbad. Avri Altman (3): mmc: host: Quirk - Disable auto-cmd12 during ffu mmc: core: Mark close-ended ffu in progress mmc: host: sdhci-msm: Apply SDHCI_QUIRK2_FFU_ACMD12 drivers/mmc/core/block.c | 25 +++++++++++++++++++++++++ drivers/mmc/host/sdhci-msm.c | 3 ++- drivers/mmc/host/sdhci.c | 8 +++++++- drivers/mmc/host/sdhci.h | 2 ++ include/linux/mmc/core.h | 3 +++ include/linux/mmc/mmc.h | 1 + 6 files changed, 40 insertions(+), 2 deletions(-) -- 2.42.0