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)
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

Simple merge