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