From: Michael Welling <mwelling@ieee.org>
To: linux-iio@vger.kernel.org, jic23@kernel.org, gregkh@linuxfoundation.org
Cc: Michael Welling <mwelling@ieee.org>
Subject: [PATCH 3/3] Switch from msleep to usleep range per timers-howto.txt
Date: Wed, 9 Apr 2014 18:28:49 -0500 [thread overview]
Message-ID: <1397086129-12112-4-git-send-email-mwelling@ieee.org> (raw)
In-Reply-To: <1397086129-12112-1-git-send-email-mwelling@ieee.org>
---
drivers/staging/iio/light/tsl2583.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/light/tsl2583.c b/drivers/staging/iio/light/tsl2583.c
index f015fb4..fa96498 100644
--- a/drivers/staging/iio/light/tsl2583.c
+++ b/drivers/staging/iio/light/tsl2583.c
@@ -451,7 +451,7 @@ static int taos_chip_on(struct iio_dev *indio_dev)
}
}
- msleep(3);
+ usleep_range(3000, 3500);
/* NOW enable the ADC
* initialize the desired mode of operation */
utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL;
--
1.7.9.5
prev parent reply other threads:[~2014-04-09 23:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 23:28 [PATCH 0/3] tsl2583 checkpatch fixes Michael Welling
2014-04-09 23:28 ` [PATCH 1/3] Removes unwanted space before semicolon Michael Welling
2014-04-10 1:47 ` Greg KH
2014-04-10 2:30 ` Michael Welling
2014-04-09 23:28 ` [PATCH 2/3] Remove quoted string split across lines warnings Michael Welling
2014-04-09 23:28 ` Michael Welling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1397086129-12112-4-git-send-email-mwelling@ieee.org \
--to=mwelling@ieee.org \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox