]> err.no Git - linux-2.6/commit
V4L/DVB (7691): pvrusb2-dvb: Don't initialize if device lacks a digital side
authorMike Isely <isely@pobox.com>
Sat, 9 Feb 2008 19:29:52 +0000 (16:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:47 +0000 (14:09 -0300)
commit129a2f5efd95959c44a2bfeea8ee8b7c17252db6
tree2a8a4ba1c71171d6e6665c197df79532b25f43dd
parent7dcc48fb55d18258e7db039f44a031e6828e6bad
V4L/DVB (7691): pvrusb2-dvb: Don't initialize if device lacks a digital side

In the end we'd like the dvb interface to always be present - even for
analog devices (via the mpeg encoder).  However right now pvrusb2-dvb
won't operate correctly if the hardware doesn't have a digital tuner,
so don't initialize the DVB interface unless we know we have a digital
tuner.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-dvb.c