]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Do not call implementations of mmc host ops directly
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:14 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:33 +0000 (10:34 +0200)
commit58d3c5247f67fc15c20e3c3e9062982da0d19d37
tree3d5107e29b84bd61ce94c9a3ddc25fe23988b6ba
parentf0048c1bca7d9f76563510ad14ebc1d5fc8a9c66
mmc: sdhci: Do not call implementations of mmc host ops directly

Drivers must be able to provide their own implementations for mmc host
operations. Consequently, SDHCI should call those not the default
implementations. Do that by calling indirectly through the mmc host ops
function pointers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c