]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lmedm04: rs2000 check if interrupt urb is over due
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 24 May 2014 09:35:57 +0000 (06:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Jun 2014 15:04:47 +0000 (12:04 -0300)
commite8b43c818c6b86cdf1540b2fb0f5647b1ea57860
treef2315765635caa6362d0c6430e7ed0d4254046a9
parent94c62b91f96da58a4966fe5ea4fdcfe458b7098c
[media] lmedm04: rs2000 check if interrupt urb is over due

Change handling of signal_lock on rs2000. Use ibuf[2] to detect
lock as there is a longer wait for lock to appear in ibuf[6].

Remove last_key and key_timeout and use jiffies plus 60ms
to detect that streaming is still active.

If the current jiffies is time_after the interrupt urb overdue and
clear signal lock.

This results in far faster recovery of lock and streaming.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/dvb-usb-v2/lmedm04.c