Re: [PATCH] MMC: tmio: fix unbalanced power-on calls with clock-gating enabled

2013-04-22 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Monday 22 April 2013 16:14:40 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 tmi

[PATCH] MMC: tmio: fix unbalanced power-on calls with clock-gating enabled

2013-04-22 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