iio: accell: mma8452: Reduce sleep time when data not ready
authorRichard Tresidder <rtresidd@electromag.com.au>
Fri, 11 May 2018 08:54:59 +0000 (16:54 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 May 2018 11:12:13 +0000 (12:12 +0100)
commita45d123887044622fa08b1a48e68c7db58f84b3b
treec2e82e6a9dfff5fc1dedcf9b978f2d07ad5e2332
parent2a86487786b5c9ce7bee21efc9ce196bb7fe0aed
iio: accell: mma8452: Reduce sleep time when data not ready

Modified the sleep method when data is not ready to allow for sampling > 50sps to work.

Signed-off-by: Richard Tresidder <rtresidd@electromag.com.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/mma8452.c