diff options
author | 2016-01-26 13:40:11 +0000 | |
---|---|---|
committer | 2016-02-29 11:03:19 +0100 | |
commit | f55c98f7466c2e52125d6ffd69295c0158ac609a (patch) | |
tree | 825201d7a1d8237ed42d3830a713249946da7d3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: sdhci: avoid walking SG list for writes (diff) | |
download | linux-dev-f55c98f7466c2e52125d6ffd69295c0158ac609a.tar.xz linux-dev-f55c98f7466c2e52125d6ffd69295c0158ac609a.zip |
mmc: sdhci: factor out common DMA cleanup in sdhci_finish_data()
sdhci_finish_data() has two paths which result in identical DMA cleanup.
One is when SDHCI_USE_ADMA is clear, and the other is just before when
SDHCI_USE_ADMA is set, and is performed within sdhci_adma_table_post().
Simplify the code by removing the 'else' and eliminating the duplicate
inside sdhci_adma_table_post().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions