> -Original Message-
> From: Chris Ball [mailto:c...@laptop.org]
> Sent: Wednesday, December 14, 2011 2:06 AM
> To: Philip Rakity
> Cc: Huang Changming-R66093; linux-mmc@vger.kernel.org; Huang Changming-
> R66093
> Subject: Re: [PATCH 1/4] SDHCI: add sdhci_get_cd c
Hi,
On Mon, Dec 05 2011, Philip Rakity wrote:
>> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
>> index 6d8eea3..66afd82 100644
>> --- a/drivers/mmc/host/sdhci.c
>> +++ b/drivers/mmc/host/sdhci.c
>> @@ -2,6 +2,7 @@
>> * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Contr
6093
> Subject: RE: [PATCH 1/4] SDHCI: add sdhci_get_cd callback to detect the
> card
>
> Hi Jerry,
>
> > -Original Message-
> > From: linux-mmc-ow...@vger.kernel.org
> > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of
> > r66...@freescale.com
bject: Re: [PATCH 1/4] SDHCI: add sdhci_get_cd callback to detect the
> card
>
>
> On Dec 5, 2011, at 1:23 AM,
> wrote:
>
> > From: Jerry Huang
> >
> > Add callback function sdhci_get_cd to detect the card.
> > In order to check if the card is present,
On Dec 5, 2011, at 1:23 AM, wrote:
> 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 bit13(Card detect pin level) and bit15(CINS).
>
> Signed-off-by: Jerry Huang
Hi Jerry,
> -Original Message-
> From: linux-mmc-ow...@vger.kernel.org
> [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of r66...@freescale.com
> Sent: Monday, December 05, 2011 5:24 PM
> To: linux-mmc@vger.kernel.org
> Cc: Jerry Huang
> Subject: [PATCH 1/4] SD
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 bit13(Card detect pin level) and bit15(CINS).
Signed-off-by: Jerry Huang
---
drivers/mmc/host/sdhci.c | 20