[PATCH 05/26] mfd: ab8500-gpadc: Change to mdelay for greater resolution

Samuel Ortiz sameo at linux.intel.com
Sun Jan 27 18:52:39 EST 2013


Hi Lee, Jonas,

On Tue, Jan 15, 2013 at 12:55:45PM +0000, Lee Jones wrote:
> From: Jonas Aaberg <jonas.aberg at stericsson.com>
> 
> The resolution of msleep is related to HZ, so with HZ set to
> 100 any msleep of less than 10ms will become ~10ms.
usleep_range would be more appropriate, sleeping should be preferred over
spinning.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the linux-arm-kernel mailing list