From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Date: Tue, 19 Apr 2011 00:53:38 +0000 Subject: Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate Message-Id: List-Id: References: In-Reply-To: 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 2011/4/15 Guennadi Liakhovetski : > 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. Acked-by: Linus Walleij Thanks a lot Guennadi! Linus Walleij