From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Date: Tue, 19 Apr 2011 02:53:38 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Guennadi Liakhovetski Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, Magnus Damm , Simon Horman List-Id: linux-mmc@vger.kernel.org 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