aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2016-01-26 13:40:22 +0000
committerUlf Hansson <[email protected]>2016-02-29 11:03:20 +0100
commit60c647624a67f6057866b685ba20abce52e259e5 (patch)
treecaa3db50045015105ce64ae32ebf5b9782ec67c8 /tools/perf/util/scripting-engines/trace-event-python.c
parent48857d9b7865c4110ecf9c57b85224a3ec84ad54 (diff)
mmc: sdhci: factor out sdhci_pre_dma_transfer() from sdhci_adma_table_pre()
In sdhci_prepare_data(), when SDHCI_REQ_USE_DMA is set, there are two paths that prepare the data buffers for transfer. One is when SDHCI_USE_ADMA is set, and is located inside sdhci_adma_table_pre(). The other is when SDHCI_USE_ADMA is clear, in the else clause of the above. Factor out the call to sdhci_pre_dma_transfer() along with its error checking. Signed-off-by: Russell King <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Tested-by: Gregory CLEMENT <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions