mmc: sdhci: fix card presence logic in sdhci_request function
authorScott Branden <sbranden@broadcom.com>
Tue, 10 Mar 2015 18:35:10 +0000 (11:35 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:46 +0000 (14:13 +0100)
commit04e079cf6b24c794bbc52b04b370f84cb728540e
treeb72f48d1ccec2b14b313f1ef2a3fb51611139b61
parent03a6d291047da60d56514c28fa1314235bdf2037
mmc: sdhci: fix card presence logic in sdhci_request function

The sdhci_request function should consider a non-removable device
always present.
Call the correct logic already available in sdhci_do_get_cd function.

This fixes some logic paths where MMC requests are being made to
non-removable devices that do not have the card detect pin connected
on the hardware as it is non-removable.

Signed-off-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
This page took 0.025482 seconds and 5 git commands to generate.