Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932069Ab1BCMph (ORCPT ); Thu, 3 Feb 2011 07:45:37 -0500 Received: from cassiel.sirena.org.uk ([80.68.93.111]:43470 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755753Ab1BCMpd (ORCPT ); Thu, 3 Feb 2011 07:45:33 -0500 Date: Thu, 3 Feb 2011 12:45:21 +0000 From: Mark Brown To: Arve Hj??nnev??g Cc: linux-arm-kernel@lists.infradead.org, Russell King , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Alexander Shishkin , Jason Wessel Subject: Re: [PATCH 1/5] ARM: etm: Don't require clock control Message-ID: <20110203124521.GK9810@sirena.org.uk> References: <1296701663-12168-1-git-send-email-arve@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1296701663-12168-1-git-send-email-arve@android.com> X-Cookie: 1 bulls, 3 cows. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 687 Lines: 14 On Wed, Feb 02, 2011 at 06:54:19PM -0800, Arve Hj??nnev??g wrote: > If clk_get fail, assume the etb does not need a separate clock. > > Signed-off-by: Arve Hj??nnev??g Would it not be cleaner for the affected platforms to ensure that clk_get() does the right thing here, for example by returning a dummy clock? Otherwise we'll just silently carry on if we can't get a clock we were supposed to which doesn't seem ideal. -- 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/