Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755121AbZLBUlR (ORCPT ); Wed, 2 Dec 2009 15:41:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754681AbZLBUlR (ORCPT ); Wed, 2 Dec 2009 15:41:17 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:38017 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754174AbZLBUlQ (ORCPT ); Wed, 2 Dec 2009 15:41:16 -0500 Date: Wed, 2 Dec 2009 20:41:22 +0000 From: Mark Brown To: Antonio Ospite Cc: Liam Girdwood , Richard Purdie , Daniel Ribeiro , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openezx-devel@lists.openezx.org Subject: Re: [PATCH] leds: Add LED class driver for regulator driven LEDs. Message-ID: <20091202204121.GB18311@rakim.wolfsonmicro.main> References: <1259775625-25973-1-git-send-email-ospite@studenti.unina.it> <1259778235.3588.141.camel@odin> <20091202213131.1393a956.ospite@studenti.unina.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091202213131.1393a956.ospite@studenti.unina.it> X-Cookie: This page intentionally left blank. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 17 On Wed, Dec 02, 2009 at 09:31:31PM +0100, Antonio Ospite wrote: > Liam Girdwood wrote: > > Some regulators may not support voltage change (via hw design or > > constraints) so set_voltage() will fail. We probably want to handle this > > regulator type so we don't call set_voltage(). > Ok, I'll read more about the regulator framework to find out how to > check regulator capabilities. Checking for errors when counting and listing the voltages ought to cover this. -- 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/