Re: [PATCH] regulator: core: if voltage scaling fails, restoreoriginal

From: Paul Walmsley
Date: Thu Dec 13 2012 - 00:08:20 EST


On Thu, 13 Dec 2012, Paul Walmsley wrote:

> Seems to me, naïvely, that in the above code, regulator->min_uV and
> regulator->max_uV should be set only after _regulator_do_set_voltage()
> succeeds?

Eh, never mind. Looks like you took a similar strategy in the subsequent
patch you sent..


- Paul