Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631Ab1BGHAz (ORCPT ); Mon, 7 Feb 2011 02:00:55 -0500 Received: from adelie.canonical.com ([91.189.90.139]:50985 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365Ab1BGHAy (ORCPT ); Mon, 7 Feb 2011 02:00:54 -0500 From: Jeremy Kerr To: Jassi Brar Subject: Re: [RFC, PATCH 3/3] clk: add warnings for incorrect enable/prepare semantics Date: Mon, 7 Feb 2011 15:00:30 +0800 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.5.1; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Pitre , Lorenzo Pieralisi , Vincent Guittot , linux-sh@vger.kernel.org, Ben Herrenschmidt , Sascha Hauer , Paul Mundt , Dima Zavin , Saravana Kannan , Ben Dooks , "Uwe =?utf-8?q?Kleine-K=C3=B6nig?=" , Russell King References: <201102011711.31258.jeremy.kerr@canonical.com> <1297058877.800990.238556019385.3.gpush@pororo> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102071500.31276.jeremy.kerr@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 421 Lines: 17 Hi Jassi, > Shouldn't the prepare_count be checked against 0 ? Yes, you're right, it should be clk->prepare_count == 0. Will update for the next revision. Cheers, Jeremy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/