[PATCH] leds: Add LED class driver for regulator driven LEDs.

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 2 15:41:22 EST 2009


On Wed, Dec 02, 2009 at 09:31:31PM +0100, Antonio Ospite wrote:
> Liam Girdwood <lrg at slimlogic.co.uk> 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.



More information about the linux-arm-kernel mailing list