[PATCH 1/3] SDHCI: add sdhci_get_cd callback to detect the card

2011-05-20 Thread r66093
From: Jerry Huang Add callback function sdhci_get_cd to detect the card. In order to check if the card is present, we will read the PRESENT STATE register and check the bit15. Signed-off-by: Jerry Huang --- drivers/mmc/host/sdhci.c | 19 +++ 1 files changed, 19 insertions(+)

[PATCH 1/3] SDHCI: add sdhci_get_cd callback to detect the card

2011-05-11 Thread r66093
From: Jerry Huang Add callback function sdhci_get_cd to detect the card. In order to check if the card is present, we will read the PRESENT STATE register and check the bit15. Signed-off-by: Jerry Huang --- drivers/mmc/host/sdhci.c | 19 +++ 1 files changed, 19 insertions(+)

[PATCH 1/3] SDHCI: add sdhci_get_cd callback to detect the card

2011-05-11 Thread Chang-Ming.Huang
From: Jerry Huang Add callback function sdhci_get_cd to detect the card. In order to check if the card is present, we will read the PRESENT STATE register and check the bit15. Signed-off-by: Jerry Huang --- drivers/mmc/host/sdhci.c | 19 +++ 1 files changed, 19 insertions(+)