Skip to content

Commit cfcd7b8

Browse files
Malcolm Priestleymchehab
authored andcommitted
[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 <[email protected]> Cc: <[email protected]> # v3.17+ Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 86c330f commit cfcd7b8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/media/usb/dvb-usb-v2/lmedm04.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,10 @@ static void lme2510_int_response(struct urb *lme_urb)
344344

345345
usb_submit_urb(lme_urb, GFP_ATOMIC);
346346

347-
/* interrupt urb is due every 48 msecs while streaming
348-
* add 12msecs for system lag */
349-
st->int_urb_due = jiffies + msecs_to_jiffies(60);
347+
/* Interrupt urb is due every 48 msecs while streaming the buffer
348+
* stores up to 4 periods if missed. Allow 200 msec for next interrupt.
349+
*/
350+
st->int_urb_due = jiffies + msecs_to_jiffies(200);
350351
}
351352

352353
static int lme2510_int_read(struct dvb_usb_adapter *adap)

0 commit comments

Comments
 (0)