projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d404e
)
[media] tda10071: change sleeps to more suitable ones
author
Antti Palosaari
<crope@iki.fi>
Tue, 13 Sep 2011 14:51:23 +0000
(11:51 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 21 Sep 2011 13:09:10 +0000
(10:09 -0300)
msleep() => usleep_range()
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda10071.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/tda10071.c
b/drivers/media/dvb/frontends/tda10071.c
index
352ddc6
..
0c37434
100644
(file)
--- a/
drivers/media/dvb/frontends/tda10071.c
+++ b/
drivers/media/dvb/frontends/tda10071.c
@@
-167,7
+167,7
@@
static int tda10071_cmd_execute(struct tda10071_priv *priv,
if (ret)
goto error;
-
msleep(1
);
+
usleep_range(200, 5000
);
}
dbg("%s: loop=%d", __func__, i);
@@
-298,7
+298,7
@@
static int tda10071_diseqc_send_master_cmd(struct dvb_frontend *fe,
if (ret)
goto error;
-
msleep(1
0);
+
usleep_range(10000, 2000
0);
}
dbg("%s: loop=%d", __func__, i);
@@
-352,7
+352,7
@@
static int tda10071_diseqc_recv_slave_reply(struct dvb_frontend *fe,
if (ret)
goto error;
-
msleep(1
0);
+
usleep_range(10000, 2000
0);
}
dbg("%s: loop=%d", __func__, i);
@@
-423,7
+423,7
@@
static int tda10071_diseqc_send_burst(struct dvb_frontend *fe,
if (ret)
goto error;
-
msleep(1
0);
+
usleep_range(10000, 2000
0);
}
dbg("%s: loop=%d", __func__, i);