Re: [PATCH v3 1/2] mmc: tmio: fix unbalanced power-on calls with clock-gating enabled

2013-06-06 Thread Chris Ball
Hi, On Thu, Jun 06 2013, Guennadi Liakhovetski wrote: > With MMC clock gating enabled the MMC core currently calls MMC host driver's > .set_ios() method with .power_mode == MMC_POWER_ON and the clock value set > either to 0 or to the target rate. The tmio MMC driver then wrongly > translates the l

[PATCH v3 1/2] mmc: tmio: fix unbalanced power-on calls with clock-gating enabled

2013-06-06 Thread Guennadi Liakhovetski
With MMC clock gating enabled the MMC core currently calls MMC host driver's .set_ios() method with .power_mode == MMC_POWER_ON and the clock value set either to 0 or to the target rate. The tmio MMC driver then wrongly translates the latter calls to card slot power-on requests, even when the slot