diff options
| author | Russell King <[email protected]> | 2016-01-26 13:40:06 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2016-02-29 11:03:19 +0100 |
| commit | 47fa961340d2181ebf1165b7651dcbb1b1029163 (patch) | |
| tree | 946433cc998c70b121b2cf08a4766234ed2a90cd /tools/perf/scripts/python/bin | |
| parent | acc3ad13832ab1aa01bdf9b7e1d76171d1e4d060 (diff) | |
mmc: sdhci: avoid walking SG list for writes
If we are writing data to the card, there is no point in walking the
scatterlist to find out if there are any unaligned entries; this is a
needless waste of CPU cycles. Avoid this by checking for a non-read
tranfer first.
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/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions