]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci: let GPIO based card detection have higher precedence
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Mon, 6 Jul 2015 12:16:19 +0000 (15:16 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Aug 2015 09:32:43 +0000 (11:32 +0200)
commit88af56552b121295ba905db2523b1622fb4fc1e4
treeea9576aa96e29a7487dc646f8b27d64b121a907f
parent951b8c875ac905aa9d348c825c380e7ce66c0f62
mmc: sdhci: let GPIO based card detection have higher precedence

Controller could have BROKEN_CARD_DETECTION quirk set, but drivers
could use GPIO to detect card present state. Let, when defined, GPIO
take precedence, so drivers could properly detect card state and not
use polling.

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