Re: [PATCH] regulator: Fix the logic to ensure new voltage settingin valid range

From: Mark Brown
Date: Tue Apr 17 2012 - 10:17:51 EST


On Wed, Apr 11, 2012 at 08:53:58PM +0800, Axel Lin wrote:
> I think this is a typo.
> To ensure new voltage setting won't greater than desc->max,
> the equation should be desc->min + desc->step * new_val <= desc->max.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature