]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] dvb_frontend: fix ioctls failing if frontend open/closed too fast
authorJuergen Lock <nox@jelal.kn-bremen.de>
Sun, 23 Dec 2012 20:23:06 +0000 (17:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 17:43:17 +0000 (15:43 -0200)
commit6ae23224557d797439d02f6ce5d10a82ab544b21
tree69be4a6240defb3e3138689c2cc7c91a779f7816
parenta75831f3600c479054fc3f70cd11257ab07886e2
[media] dvb_frontend: fix ioctls failing if frontend open/closed too fast

That likely fixes this MythTV ticket:
http://code.mythtv.org/trac/ticket/10830
(which btw affects all usb tuners I tested as well, pctv452e,
dib0700, af9015)  pctv452e is still possibly broken with MythTV
even after this fix; it does work with VDR here tho despite I2C
errors.
Reduced testcase:
http://people.freebsd.org/~nox/tmp/ioctltst.c
Thanx to devinheitmueller and crope from #linuxtv for helping with
this fix! :)

Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb_frontend.c