Re: [PATCH 1/7] staging: iio: isl29028: change mdelay() to msleep()

2017-02-11 Thread Jonathan Cameron
On 09/02/17 01:54, Brian Masney wrote: > This driver in some cases can busy wait for upwards of 100 ms. Since the > kernel at this point is not running in atomic context, and is running in > process context, we can safely use msleep() instead. This patch changes > the two occurrences of mdelay() to

[PATCH 1/7] staging: iio: isl29028: change mdelay() to msleep()

2017-02-08 Thread Brian Masney
This driver in some cases can busy wait for upwards of 100 ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use msleep() instead. This patch changes the two occurrences of mdelay() to msleep(). Signed-off-by: Brian Masney --- d