On Mon, Apr 11, 2011 at 6:12 PM, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote: > I'm observing re-entry into driver's (tmio) .set_ios() method, caused by a > race between the card-detect rescan thread along the lines of > (...) > Replacing the clk_gate_mutex mutex with claiming and releasing the host > fixes the problem for me, but I'm not sure, whether this is the correct > solution. That sounds like the right solution. Can you propose a patch so I can test and ACK it if it works for me? Yours, Linus Walleij -- 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