[PATCH v2] mmc: tmio: Fix build errors

2011-05-17 Thread Paul Parsons
Only compile tmio_mmc_dma.o when CONFIG_MMC_SDHI is selected (as y or m). Signed-off-by: Paul Parsons lost.dista...@yahoo.com --- --- clean-2.6.39-rc7/drivers/mmc/host/Makefile 2011-05-17 01:53:37.280446658 +0100 +++ linux-2.6.39-rc7/drivers/mmc/host/Makefile 2011-05-17 02:15:56.959621818

Re: [PATCH] mmc: tmio: Fix race condition resulting in spurious interrupts

2011-05-16 Thread Paul Parsons
I wouldn't call this a race. If the hardware sets the next status bit before the interrupt handler reaches the bottom of the loop, then the loop repeats, and the subsequent interrupt is reported as spurious. If the interrupt handler reaches the bottom of the loop before the hardware sets the

Re: [PATCH] MMC: tmio: fix a recent regression: restore .set_ios(MMC_POWER_UP) handling

2011-04-22 Thread Paul Parsons
--- On Fri, 22/4/11, Paul Parsons lost.dista...@yahoo.com wrote: As far as I can see the expression (ios-clock == 0 ios-power_mode == MMC_POWER_ON) will only be true if host-f_init == 0 at the time MMC_POWER_ON is invoked in mmc_power_up(). Presumably that case is intentional. Sorry

Re: [PATCH] MMC: tmio: fix a recent regression: restore .set_ios(MMC_POWER_UP) handling

2011-04-21 Thread Paul Parsons
...@laptop.org wrote: Paul Parsons (CC'd) submitted a similar patch to fix the same regression. Paul, please could you check that Guennadi's patch fixes your problem? -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More

[PATCH] mmc: tmio: Fix tmio MMC_POWER_UP

2011-04-20 Thread Paul Parsons
the MMC power off instead of on. Signed-off-by: Paul Parsons lost.dista...@yahoo.com --- --- clean-2.6.39-rc4/drivers/mmc/host/tmio_mmc_pio.c2011-04-20 19:13:27.144322768 +0100 +++ linux-2.6.39-rc4/drivers/mmc/host/tmio_mmc_pio.c2011-04-20 19:11:49.135616453 +0100 @@ -728,7 +728,7