aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@c2i.net>2011-05-23 10:21:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-25 07:44:10 -0400
commitaad04c774331890befcd7a77406c2b6f273ab7a9 (patch)
tree75589698af664000f5997802ad884f65efe5e580 /drivers/media/dvb/frontends
parent79d06d4dff733ee472e1f8933a33317a18195c0c (diff)
[media] Increase a timeout, so that bad scheduling does not accidentially cause a timeout
--HPS >From 18faaafc9cbbe478bb49023bbeae490149048560 Mon Sep 17 00:00:00 2001 Signed-off-by: Hans Petter Selasky <hselasky@c2i.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 7691282ac16e..8408ef877b4b 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -706,7 +706,7 @@ static int stb0899_send_diseqc_msg(struct dvb_frontend *fe, struct dvb_diseqc_ma
706 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); 706 stb0899_write_reg(state, STB0899_DISCNTRL1, reg);
707 for (i = 0; i < cmd->msg_len; i++) { 707 for (i = 0; i < cmd->msg_len; i++) {
708 /* wait for FIFO empty */ 708 /* wait for FIFO empty */
709 if (stb0899_wait_diseqc_fifo_empty(state, 10) < 0) 709 if (stb0899_wait_diseqc_fifo_empty(state, 100) < 0)
710 return -ETIMEDOUT; 710 return -ETIMEDOUT;
711 711
712 stb0899_write_reg(state, STB0899_DISFIFO, cmd->msg[i]); 712 stb0899_write_reg(state, STB0899_DISFIFO, cmd->msg[i]);