RE: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Huang Changming-R66093
> > You patch uses (SDHCI_CARD_PRESENT | SDHCI_CARD_CDPL) Does that > mean SDHCI_CARD_CDPL does work in that case? > >>> No. > >>> The SDHCI_CARD_CDPL[bit13] reflect the pin level: > >>> CDPL: Card detect pin level. This bit reflects the inverse value of > >>> the > >> SDHC_CD pin fo

Re: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Adrian Hunter
Sent: Tuesday, December 13, 2011 4:01 PM >>>> To: Huang Changming-R66093 >>>> Cc: linux-mmc@vger.kernel.org >>>> Subject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect card >>>> >>>> On 13/12/11 09:25, Huang Changming-R66093 wrote

RE: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Huang Changming-R66093
> -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Tuesday, December 13, 2011 4:54 PM > To: Huang Changming-R66093 > Cc: linux-mmc@vger.kernel.org > Subject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect card > >

Re: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Adrian Hunter
w...@vger.kernel.org] On Behalf Of Adrian Hunter >>>> Sent: Friday, December 09, 2011 6:03 PM >>>> To: Huang Changming-R66093 >>>> Cc: linux-mmc@vger.kernel.org; Huang Changming-R66093 >>>> Subject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect

RE: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Huang Changming-R66093
> -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Tuesday, December 13, 2011 4:01 PM > To: Huang Changming-R66093 > Cc: linux-mmc@vger.kernel.org > Subject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect card > >

Re: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-13 Thread Adrian Hunter
ng Changming-R66093 >> Cc: linux-mmc@vger.kernel.org; Huang Changming-R66093 >> Subject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect card >> >> On 05/12/11 11:23, r66...@freescale.com wrote: >>> From: Jerry Huang >>> >>> In order to check whethe

RE: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-12 Thread Huang Changming-R66093
bject: Re: [PATCH 2/4] MMC/SD: Add callback function to detect card > > On 05/12/11 11:23, r66...@freescale.com wrote: > > From: Jerry Huang > > > > In order to check whether the card has been removed, the function > > mmc_send_status() will send command CMD13 to card

Re: [PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-09 Thread Adrian Hunter
On 05/12/11 11:23, r66...@freescale.com wrote: > From: Jerry Huang > > In order to check whether the card has been removed, the function > mmc_send_status() will send command CMD13 to card and ask the card > to send its status register to sdhc driver, which will generate > many interrupts repeate

[PATCH 2/4] MMC/SD: Add callback function to detect card

2011-12-05 Thread r66093
From: Jerry Huang In order to check whether the card has been removed, the function mmc_send_status() will send command CMD13 to card and ask the card to send its status register to sdhc driver, which will generate many interrupts repeatedly and make the system performance bad. Therefore, add ca