]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rtsx_usb: Use MMC_CAP2_NO_SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 May 2018 11:31:37 +0000 (13:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 8 May 2018 07:43:15 +0000 (09:43 +0200)
commit49c8504130db8d7ffcd753d0e4c6ae1532d00d7f
treee93bd444fcc0f0270aae677ad7c6d03edd60e651
parent968887709f5e533b1f16754263b0c8a89535c401
mmc: rtsx_usb: Use MMC_CAP2_NO_SDIO

Instead of having to return -EINVAL when requested to send SDIO specific
commands, let's set MMC_CAP2_NO_SDIO as it completely prevents them.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: MichaƂ Pecio <michal.pecio@gmail.com>
drivers/mmc/host/rtsx_usb_sdmmc.c