]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Allow hosts to specify non-support for SD commands
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Jun 2016 13:12:46 +0000 (15:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:22 +0000 (10:34 +0200)
commit3edb4c1d5f35014ca5408fdf8a21cd858913318f
tree83b19b871e56b507ce55102e4b99098ff3aeedae
parenta558398e92931d517abe0430eb6c5c247ca66df5
mmc: core: Allow hosts to specify non-support for SD commands

There are host drivers which needs to valdiate for non-supported SD
commands and returnn error code for such requests.

To improve and simplify the behaviour, let's invent MMC_CAP2_NO_SD
which these host drivers can set to tell the mmc core to skip sending SD
commands during card initialization.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
include/linux/mmc/host.h