diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-03-07 11:07:55 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-03-18 09:11:11 +0100 |
commit | 7b91369b46559dcc90e8d414e31c0257972e0cbb (patch) | |
tree | 1deda3d88f97da83125c2c84167e2b3aef9f7dd1 /kernel/configs | |
parent | 83c742c344c08c2bbe338d45c6ec63110e9d5e3d (diff) | |
download | linux-7b91369b46559dcc90e8d414e31c0257972e0cbb.tar.bz2 |
mmc: sdhci: Set DMA mask when adding host
Set the DMA mask in sdhci_add_host() after we determined the
capabilities of the device. 64-bit devices in particular are given the
proper mask that ensures bounce buffers are not used.
Also disable DMA if no proper DMA mask can be set, as the DMA-API
documentation specifies.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel/configs')
0 files changed, 0 insertions, 0 deletions