]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Add 'card' to drive strength selection callback
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Feb 2015 12:12:54 +0000 (14:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:12 +0000 (09:07 +0200)
commita218ccf0b84b16e862cac9556d3dde46bc9b2d77
tree95ca3f2c62eccc4e6115103db86150c6f024ff7d
parentb6a08f6932df4a076d5ac6e94e4aed7bc949b1d6
mmc: core: Add 'card' to drive strength selection callback

In preparation for supporting also eMMC drive strength,
add the 'card' as a parameter so that the callback can
distinguish different types of cards if necessary.

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