From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Date: Tue, 19 Apr 2011 01:57:41 +0000 Subject: Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Message-Id: List-Id: References: In-Reply-To: (Guennadi Liakhovetski's message of "Fri, 15 Apr 2011 20:08:19 +0200 (CEST)") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, Magnus Damm , Simon Horman , Linus Walleij Hi Guennadi, On Fri, Apr 15 2011, Guennadi Liakhovetski wrote: > Currently there is a race in the MMC core between a card-detect > rescan work and the clock-gating work, scheduled from a command > completion. Fix it by removing the dedicated clock-gating mutex and > using the MMC standard locking mechanism instead. > > Signed-off-by: Guennadi Liakhovetski > Cc: Simon Horman > Cc: Magnus Damm > Cc: Linus Walleij Thanks, pushed to mmc-next with Linus' ACK and a stable@ tag. - Chris. -- Chris Ball One Laptop Per Child