diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2014-12-30 13:44:34 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-01 07:18:26 -0500 |
commit | e904ce7e26c6ae84e8fb08b53cd466c0470445fd (patch) | |
tree | 4c661aa657518f1b342a98042625c3e8aafd688c /drivers | |
parent | ff6f46295d81fab7ef7379761ea87ba71cc13fce (diff) |
iio: frequency: ad9523: Increase sleep time in ad9523_store_eeprom
This patch increases sleep time in ad9523_store_eeprom to 20ms since
it isn't timing critical. It fixes the following checkpatch.pl warning:
WARNING: msleep < 20ms can sleep for up to 20ms
Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iio/frequency/ad9523.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c index 7c5245d9f99c..50ed8d1ca45a 100644 --- a/drivers/iio/frequency/ad9523.c +++ b/drivers/iio/frequency/ad9523.c | |||
@@ -445,7 +445,7 @@ static int ad9523_store_eeprom(struct iio_dev *indio_dev) | |||
445 | 445 | ||
446 | tmp = 4; | 446 | tmp = 4; |
447 | do { | 447 | do { |
448 | msleep(16); | 448 | msleep(20); |
449 | ret = ad9523_read(indio_dev, | 449 | ret = ad9523_read(indio_dev, |
450 | AD9523_EEPROM_DATA_XFER_STATUS); | 450 | AD9523_EEPROM_DATA_XFER_STATUS); |
451 | if (ret < 0) | 451 | if (ret < 0) |