Re: [PATCH] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-23 Thread Doug Anderson
On Mon, Jul 23, 2012 at 2:19 AM, Will Newton wrote: >> Very good question. In my current setup I don't see setup_bus() >> called during normal operation. If it were, my kernel messages would >> be constantly spammed with messages like: >> Bus speed (slot %d) = %dHz (slot req %dHz, actual %dH

Re: [PATCH] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-23 Thread Will Newton
On Mon, Jul 23, 2012 at 3:48 AM, Doug Anderson wrote: > On Sat, Jul 21, 2012 at 3:40 AM, Will Newton wrote: >>> static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb) >>> { >>> struct dw_mci_slot *slot = mmc_priv(mmc); >>> @@ -871,6 +896,14 @@ static void dw_mci_enable_sdio_i

Re: [PATCH] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-22 Thread Doug Anderson
On Sat, Jul 21, 2012 at 3:40 AM, Will Newton wrote: >> static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb) >> { >> struct dw_mci_slot *slot = mmc_priv(mmc); >> @@ -871,6 +896,14 @@ static void dw_mci_enable_sdio_irq(struct mmc_host >> *mmc, int enb) >> /* Enable/di

Re: [PATCH] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-21 Thread Will Newton
On Fri, Jul 20, 2012 at 7:13 PM, Doug Anderson wrote: > The documentation for the dw_mmc part says that the low power > mode should normally only be set for MMC and SD memory and should > be turned off for SDIO cards that need interrupts detected. > > The best place I could find to do this is when

[PATCH] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-20 Thread Doug Anderson
The documentation for the dw_mmc part says that the low power mode should normally only be set for MMC and SD memory and should be turned off for SDIO cards that need interrupts detected. The best place I could find to do this is when the SDIO interrupt was first enabled. I rely on the fact that