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)
commitb4f30a174e1fda8118eda038b5d8d5260db36ad5
treedc77366f106bc5b15aa836518dc5cbfca855b558
parent75e8a2288c4fabd6c2f752e8fd3bf7f60be7d3a4
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