aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-01-02 08:56:27 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 14:14:00 -0500
commitcfcd7b825892cb498c6bcb13257f2141f7eacb76 (patch)
tree246f0fd2ae81e05a057adbfee6fc04b27a68d8c3 /drivers/media/usb
parent86c330fa599a44b6da3bfa83dd71a665dddde5ab (diff)
[media] lmedm04: Increase Interupt due time to 200 msec
Ocassionally the device fails to report back an interrupt urb status which results in false no lock trigger on the RS2000 demodulator. Increase time from 60 msecs to 200 msecs. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Cc: <stable@vger.kernel.org> # v3.17+ Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/dvb-usb-v2/lmedm04.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c b/drivers/media/usb/dvb-usb-v2/lmedm04.c
index 994de53a574b..f1edb299c2f2 100644
--- a/drivers/media/usb/dvb-usb-v2/lmedm04.c
+++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c
@@ -344,9 +344,10 @@ static void lme2510_int_response(struct urb *lme_urb)
344 344
345 usb_submit_urb(lme_urb, GFP_ATOMIC); 345 usb_submit_urb(lme_urb, GFP_ATOMIC);
346 346
347 /* interrupt urb is due every 48 msecs while streaming 347 /* Interrupt urb is due every 48 msecs while streaming the buffer
348 * add 12msecs for system lag */ 348 * stores up to 4 periods if missed. Allow 200 msec for next interrupt.
349 st->int_urb_due = jiffies + msecs_to_jiffies(60); 349 */
350 st->int_urb_due = jiffies + msecs_to_jiffies(200);
350} 351}
351 352
352static int lme2510_int_read(struct dvb_usb_adapter *adap) 353static int lme2510_int_read(struct dvb_usb_adapter *adap)