Re: [PATCH 2/2] mmc: prevent aggressive clock gating to race with ios updates

2011-08-17 Thread Linus Walleij
On Mon, Aug 15, 2011 at 12:03 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: We have seen at least two different races when clock gating kicks in in a middle of ios structure update. First one happens when ios-clock is changed outside of aggressive clock gating framework, for

[PATCH 2/2] mmc: prevent aggressive clock gating to race with ios updates

2011-08-15 Thread Mika Westerberg
We have seen at least two different races when clock gating kicks in in a middle of ios structure update. First one happens when ios-clock is changed outside of aggressive clock gating framework, for example via mmc_set_clock(). The race might happen when we run following code: mmc_set_ios():