From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f169.google.com ([209.85.223.169]:60140 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932820AbaDIX3T (ORCPT ); Wed, 9 Apr 2014 19:29:19 -0400 Received: by mail-ie0-f169.google.com with SMTP id to1so3194447ieb.14 for ; Wed, 09 Apr 2014 16:29:18 -0700 (PDT) From: Michael Welling To: linux-iio@vger.kernel.org, jic23@kernel.org, gregkh@linuxfoundation.org Cc: Michael Welling Subject: [PATCH 3/3] Switch from msleep to usleep range per timers-howto.txt Date: Wed, 9 Apr 2014 18:28:49 -0500 Message-Id: <1397086129-12112-4-git-send-email-mwelling@ieee.org> In-Reply-To: <1397086129-12112-1-git-send-email-mwelling@ieee.org> References: <1397086129-12112-1-git-send-email-mwelling@ieee.org> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.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