aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMårten Lindahl <marten.lindahl@axis.com>2021-11-03 19:27:16 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2021-12-14 21:35:24 +0100
commit9f0d3cc23842cb827493d4a59e474d0808a3f9f6 (patch)
tree1e61cec4536193fc4eeed4a15d20e95925fd1642 /tools/perf/scripts/python/exported-sql-viewer.py
parentdfb654f1885f05baf506cdfdbc3f7efa1d847d54 (diff)
downloadlinux-9f0d3cc23842cb827493d4a59e474d0808a3f9f6.tar.gz
linux-9f0d3cc23842cb827493d4a59e474d0808a3f9f6.tar.bz2
linux-9f0d3cc23842cb827493d4a59e474d0808a3f9f6.zip
mmc: dw_mmc: Avoid hung state if GEN_CMD transfer fails
If we get a data error during a block transfer command, a stop command (CMD12) is normally initiated. But this does not work for the general command (CMD56), but instead the action is ignored and an uninitialized command struct is used for the stop action, with unexpected result. Fix this by adding a check for GEN_CMD when preparing stop transmission. Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com> Link: https://lore.kernel.org/r/20211103182716.28419-1-marten.lindahl@axis.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions