Hi, On Wed, Nov 16 2011, Guennadi Liakhovetski wrote: > Do not power down the card in .set_ios(), unless MMC_POWER_OFF is > requested. This fixes the MMCIF interface functionality on ecovec boards. > > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx> > --- > drivers/mmc/host/sh_mmcif.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c > index 557886b..c021482 100644 > --- a/drivers/mmc/host/sh_mmcif.c > +++ b/drivers/mmc/host/sh_mmcif.c > @@ -895,7 +895,7 @@ static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) > if (host->power) { > pm_runtime_put(&host->pd->dev); > host->power = false; > - if (p->down_pwr) > + if (p->down_pwr && ios->power_mode == MMC_POWER_OFF) > p->down_pwr(host->pd); > } > host->state = STATE_IDLE; Thanks, pushed to mmc-next for 3.2. - Chris. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html