]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: Enable MMC_CAP2_NO_SD and MMC_CAP2_NO_SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Jun 2016 13:12:47 +0000 (15:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:23 +0000 (10:34 +0200)
commitf643586f40dac2191dc383e21ee36a2f59cbd5bf
tree78be4af61ef2019abe429771529b0ee4202097a0
parent3edb4c1d5f35014ca5408fdf8a21cd858913318f
mmc: sh_mmcif: Enable MMC_CAP2_NO_SD and MMC_CAP2_NO_SDIO

Enable the capabilities which tells the mmc core to prevent sending SD and
SDIO commands during card initialization. In this way, we can also remove
the validation of non-supported commands in the ->request() callback.

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