From patchwork Wed Dec 22 08:12:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 426361 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBM8CJfv021124 for ; Wed, 22 Dec 2010 08:12:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373Ab0LVIMR (ORCPT ); Wed, 22 Dec 2010 03:12:17 -0500 Received: from mail-pv0-f174.google.com ([74.125.83.174]:38280 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285Ab0LVIMQ convert rfc822-to-8bit (ORCPT ); Wed, 22 Dec 2010 03:12:16 -0500 Received: by pva4 with SMTP id 4so978592pva.19 for ; Wed, 22 Dec 2010 00:12:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wCfi3le2MhYIfYT2MCMp/JwUj4cFCQFgqCkmyzzHuas=; b=omxYRIONw5FYLdwGaGpgn1t6gN5nEVaJvlGlKxsYBoRcmQjRyzPdFy69lRYTZ/8AAG MM63huHLU55vOGmP4K3fZE00tXZFy/zo5btGo+y3v+6gJyB7sk/bv82HCqE36KUCuhsG 8EsWHXL9y7fZga7kw9fUJVAbPPnfG/GaSXbHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=p1UA+PYGIwmFik6uAmCmHcE8rEiaNULQvR9CDdaxKvpLPdAk5C4Fwe59o7S/GZTJPb aMKBUiNpQw8YkvtgdMl5KxJ3JDmNc3IwVFycMosxwIqWhfYL8WkrYNuav0GdI9zw3iDW O7DpwvuKSXQBWE91DAc3FllzlmYV6ZRr1P18E= MIME-Version: 1.0 Received: by 10.143.161.1 with SMTP id n1mr5325278wfo.115.1293005536330; Wed, 22 Dec 2010 00:12:16 -0800 (PST) Received: by 10.143.32.14 with HTTP; Wed, 22 Dec 2010 00:12:16 -0800 (PST) In-Reply-To: <20101221202408.GA12006@void.printf.net> References: <1288776170-10141-1-git-send-email-linus.walleij@stericsson.com> <20101221202408.GA12006@void.printf.net> Date: Wed, 22 Dec 2010 09:12:16 +0100 Message-ID: Subject: Re: [PATCH 1/2] mmc: agressive clocking framework v8 From: Linus Walleij To: Chris Ball Cc: linux-mmc@vger.kernel.org, Ghorai Sukumar , Nicolas Pitre , Adrian Hunter , David Vrabel , Kyungmin Park , jh80.chung@samsung.com Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 22 Dec 2010 08:12:20 +0000 (UTC) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 92e3370..072d29c 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -235,7 +235,7 @@ static inline void mmc_host_clk_exit(struct mmc_host *host) mmc_host_clk_gate_delayed(host); if (host->clk_gated) mmc_host_clk_ungate(host); - BUG_ON(host->clk_requests > 0); + BUG_ON(host->clk_requests > 1); } #else