Re: [PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-25 Thread Ohad Ben-Cohen
On Sun, Jul 25, 2010 at 4:56 PM, Nicolas Pitre wrote: > On Sun, 25 Jul 2010, Ohad Ben-Cohen wrote: > >> On Thu, Jul 22, 2010 at 2:35 PM, Roger Quadros >> wrote: >> > On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: >> >> >> >> Add support for an SDIO device to stay powered off even without >> >

Re: [PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-25 Thread Nicolas Pitre
On Sun, 25 Jul 2010, Ohad Ben-Cohen wrote: > On Thu, Jul 22, 2010 at 2:35 PM, Roger Quadros > wrote: > > On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: > >> > >> Add support for an SDIO device to stay powered off even without > >> the presence of an SDIO function driver. A host should explici

Re: [PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-25 Thread Ohad Ben-Cohen
On Thu, Jul 22, 2010 at 2:35 PM, Roger Quadros wrote: > On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: >> >> Add support for an SDIO device to stay powered off even without >> the presence of an SDIO function driver. A host should explicitly >> ask for it by means of MMC_CAP_DONT_POWER_CARD, an

Re: [PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-22 Thread Roger Quadros
On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: Add support for an SDIO device to stay powered off even without the presence of an SDIO function driver. A host should explicitly ask for it by means of MMC_CAP_DONT_POWER_CARD, and the SDIO function driver should know it needs to call sdio_claim_

[PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-21 Thread Ohad Ben-Cohen
Add support for an SDIO device to stay powered off even without the presence of an SDIO function driver. A host should explicitly ask for it by means of MMC_CAP_DONT_POWER_CARD, and the SDIO function driver should know it needs to call sdio_claim_power before accessing the device. Signed-off-by: O