Skip to content

Fix command errors during tuning

Faiz Abbas linux-mmc linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest2 patches 4 repliesIn review

Changes in v4 from the cover letter

Fixed commit description for patch 1.
Added SDHCI_INT_TIMEOUT to CMD_ERR_MASK in patch 2.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: sdhci: Export sdhci_finish_command()drivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+3 -10 replies
2/2mmc: sdhci-omap: Don't finish_mrq() on a command error during tuningdrivers/mmc/host/sdhci-omap.c+37 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] Fix command errors during tuning

These patches fix the following error message in dra7xx boards:

[4.833198] mmc1: Got data interrupt 0x00000002 even though no data

operation was in progress.

Tested with 100 times boot tests on dra71x-evm, dra72x-evm and dra7xx-evm.

v4:
Fixed commit description for patch 1.
Added SDHCI_INT_TIMEOUT to CMD_ERR_MASK in patch 2.

v3:
Removed the command error specific callback and using the already existing sdhci_irq callback instead. No measurable drop in performance.

v2:
Added EXPORT_SYMBOL_GPL for sdhci_cmd_err and sdhci_send_command to fix errors when built as module.

Faiz Abbas (2):
mmc: sdhci: Export sdhci_finish_command()
mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

 drivers/mmc/host/sdhci-omap.c | 37 +++++++++++++++++++++++++++++++++++
 drivers/mmc/host/sdhci.c      |  3 ++-
 drivers/mmc/host/sdhci.h      |  1 +
 3 files changed, 40 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.2