commit | 7b91369b46559dcc90e8d414e31c0257972e0cbb | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Mon Mar 07 11:07:55 2016 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Fri Mar 18 09:11:11 2016 +0100 |
tree | 1deda3d88f97da83125c2c84167e2b3aef9f7dd1 | |
parent | 83c742c344c08c2bbe338d45c6ec63110e9d5e3d [diff] |
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>