]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7c54a6a18e06ba0375db5e0172d62990785780b
treee34131791940dedf4d7ce4f4d92ac24f49034098
parent382c2bbdcc704831d6d302edec2c8ba0f153d5ea
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