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

Paul Parsons
2011-04-22T04:24:35Z

Yes, Guennadi's patch fixes my problem.

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.

--- On Thu, 21/4/11, Chris Ball <cjb@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?