mmc: sdhci: don't use card state polling when CD GPIO is defined
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Mon, 6 Jul 2015 12:16:20 +0000 (15:16 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Aug 2015 09:32:44 +0000 (11:32 +0200)
commitc31d22eb335d4e3d2016135038fac8daaa9708d6
treee34131791940dedf4d7ce4f4d92ac24f49034098
parent88af56552b121295ba905db2523b1622fb4fc1e4
mmc: sdhci: don't use card state polling when CD GPIO is defined

There is no reason to use polling for card detection state change when
drivers are using dedicated GPIO for this. Don't poll in this case.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c