Re: [PATCH 1/2] regulator: Report actual configured voltage toset_voltage()
From: Liam Girdwood
Date: Wed Nov 10 2010 - 16:20:25 EST
On Wed, 2010-11-10 at 14:38 +0000, Mark Brown wrote:
> Change the interface used by set_voltage() to report the selected value
> to the regulator core in terms of a selector used by list_voltage().
> This allows the regulator core to know the voltage that was chosen
> without having to do an explict get_voltage(), which would be much more
> expensive as it will generally access hardware.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Both Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/