mmc: android-goldfish: Enable MMC_CAP2_NO_SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Apr 2020 14:55:31 +0000 (16:55 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:56 +0000 (11:20 +0200)
commita08373de21b46894df366a29f217df9f5ea35211
treecce12bc6ac9b759311284eeb3fe786b1ce501729
parent9cb1fd0efd195590b828b9b865421ad345a4a145
mmc: android-goldfish: Enable MMC_CAP2_NO_SDIO

Instead of explicitly checking for SDIO specific requests and then
returning an error code, let's set MMC_CAP2_NO_SDIO to tell the mmc core to
prevent them altogether.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20200401145531.23247-1-ulf.hansson@linaro.org
drivers/mmc/host/android-goldfish.c