Re: [PATCH] regulator: core: Check for failed voltage sets beforechecking for delay

From: Axel Lin
Date: Tue Jun 26 2012 - 06:52:02 EST


2012/6/26 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
> There is no need to consider waiting for the voltage to ramp if we
> didn't manage to set it and looking at the return value is going to be
> cheaper than is_enabled().
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/