Re: [PATCH 2/3] regulator: gpio-regulator: Fix finding of smallest value

From: Axel Lin
Date: Sun Jun 03 2012 - 20:14:37 EST


2012/6/4 Heiko Stübner <heiko@xxxxxxxxx>:
> Commit 4dbd8f63f07a (regulator: gpio-regulator: Set the smallest
> voltage/current in the specified range) forgot to set the newly
> introduced best_val.
>
> Therefore it stayed always at INT_MAX thus breaking the setting
> of the voltage.
>
> Included is also an init value for target, as warnings about
> a possibly uninitialised target started appearing with this fix.
>
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>

Acked-by: Axel Lin <axel.lin@xxxxxxxxx>
--
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/