commit | fce1442164cff51250c8f264b3757fd76f2a955b | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jan 26 13:41:20 2016 +0000 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 29 11:03:23 2016 +0100 |
tree | 74a6273b244ed54c3d0bb81ffbc7fd413f79d432 | |
parent | df953925a504d3c7a2a8814143a044c14d6660c0 [diff] |
mmc: sdhci: further code simplication Further simplify the code in sdhci_prepare_data() - we don't set SDHCI_REQ_USE_DMA anywhere else in the driver, so there is no need to set it, and then immediately test it. 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>