Re: [PATCH RESEND] mc13783-regulator: fix vaild voltage rangechecking for mc13783_fixed_regulator_set_voltage

From: Mark Brown
Date: Thu May 06 2010 - 05:48:48 EST


On Thu, May 06, 2010 at 11:33:36AM +0800, Axel Lin wrote:
> In the case of "min_uV == max_uV == mc13783_regulators[id].voltages[0]",
> mc13783_fixed_regulator_set_voltage should return 0 instead of -EINVAL.
>
> This patch also adds a missing ">" character for MODULE_AUTHOR, a trivial fix.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Cc: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Better to send two patches for two separate fixes, especially where
there's no overlap in the code.
--
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/