aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb6100.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2007-10-19 06:27:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:19 -0200
commit7e4e8c52e3f87a83ce967397bb389f75cb71742d (patch)
treeaf9a8b8f9dd811b479e7a5e2e95a2bb042824265 /drivers/media/dvb/frontends/stb6100.c
parentV4L/DVB (9426): Add a missing break (diff)
downloadlinux-dev-7e4e8c52e3f87a83ce967397bb389f75cb71742d.tar.xz
linux-dev-7e4e8c52e3f87a83ce967397bb389f75cb71742d.zip
V4L/DVB (9427): Code simplification: Sleep only for the required time interval.
* Saves 70 mS LOCK time on the STB6100 based * Saves 100 mS LOCK time on the TDA8261 based Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/media/dvb/frontends/stb6100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c
index 386db06e4be8..c61ade64b984 100644
--- a/drivers/media/dvb/frontends/stb6100.c
+++ b/drivers/media/dvb/frontends/stb6100.c
@@ -426,6 +426,8 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
if ((rc = stb6100_write_reg(state, STB6100_FCCK, regs[STB6100_FCCK])) < 0)
return rc;
+ msleep(30);
+
return 0;
}