aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2019-01-29 15:35:56 +0100
committerUlf Hansson <[email protected]>2019-02-25 08:40:58 +0100
commite9968c6fa8e7852184135e84116c6c77ebb2987d (patch)
tree7395705d6e606227311214b39f4afaf82026b4cc /tools/perf/scripts/python/export-to-sqlite.py
parente9d6a371cff3bb9bef8ad96fe576d62346c7e104 (diff)
mmc: mmci: Send a CMD12 to clear the DPSM at errors
The current approach with sending a CMD12 (STOP_TRANSMISSION) to complete a data transfer request, either because of using the open-ended transmission type or because of receiving an error during a pre-defined data transfer, isn't sufficient for the STM32 sdmmc variant. More precisely, this variant needs to clear the DPSM ("Data Path State Machine") by sending a CMD12, for all failing ADTC commands. Support this, by adding a struct mmc_command inside the struct mmci_host and initialize it to a CMD12 during ->probe(). Let's also add checks for the new conditions, to enable mmci_data_irq() and mmci_cmd_irq() to postpone the calls to mmci_request_end(), but instead send the CMD12. Cc: Ludovic Barre <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Tested-by: Ludovic Barre <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions