[PATCH 03/12] regulator: gpio-regulator: Fix logical error in for() loop
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Dec 10 09:12:52 EST 2012
On Mon, Dec 10, 2012 at 08:55:52AM +0000, Lee Jones wrote:
> The cond-statement of this particular for() loop will always be
> true as long as at least one voltage-shifting GPIO is present.
> If it wasn't for the break below, we'd be stuck in a forever loop.
> This patch inserts the correct cond-statement into the statement.
Applied, thanks.
More information about the linux-arm-kernel
mailing list