]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Allow card drive strength to be different to host
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Feb 2015 12:12:52 +0000 (14:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:11 +0000 (09:07 +0200)
commitc8efd3482755de011fe0256136b02195ce2c8e20
treedc77366f106bc5b15aa836518dc5cbfca855b558
parent3c3a717b689c95a0e0d46e9aaf25ba339262495b
mmc: core: Allow card drive strength to be different to host

Initialization of UHS-I modes for SD and SDIO cards
employs a callback to allow the host driver to
choose a drive strength value. Currently that
assumes the card drive strength and host driver
type must be the same value. Change to let the
callback make that decision and return both the
card drive strength and host driver type.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
include/linux/mmc/host.h