]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Let drivers define their DMA mask
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 23 Sep 2019 10:08:09 +0000 (12:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Sep 2019 18:30:13 +0000 (20:30 +0200)
commit3dea31d32b638e63d67c9357c5056feb3e2588b7
tree8c06f6f8d918b5c58362470db9164f1250cbef6c
parenta9421cafe546d9338bbc7a7318116ac9650bd0d7
mmc: sdhci: Let drivers define their DMA mask

Add host operation ->set_dma_mask() so that drivers can define their own
DMA masks.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Cc: stable@vger.kernel.org # v4.15 +
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h