aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/cxd2099
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2014-09-24 17:00:17 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 23:03:24 -0400
commit7b86477c0e5b7b1406f27da519d4df841f306b92 (patch)
treecee7205ff781fa1966d2bd2e630eb37a131bf08d /drivers/staging/media/cxd2099
parentStaging: media: davinci_vpfe: Remove unused variable (diff)
downloadlinux-dev-7b86477c0e5b7b1406f27da519d4df841f306b92.tar.xz
linux-dev-7b86477c0e5b7b1406f27da519d4df841f306b92.zip
staging: media: cxd2099: use usleep_range()
This patch fixes checkpatch.pl warning in file cxd2099.c WARNING : msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/cxd2099')
-rw-r--r--drivers/staging/media/cxd2099/cxd2099.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
index 73e7b2c9e4a7..cda15951fc89 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -527,7 +527,7 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
u8 val;
#endif
for (i = 0; i < 100; i++) {
- msleep(10);
+ usleep_range(10000, 11000)
#if 0
read_reg(ci, 0x06, &val);
dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);