aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2012-02-06 17:05:01 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 14:17:25 -0500
commit88495030dc53cd97d4c71937b959e8c67ed27ed7 (patch)
treee2f347fba9332c221203f986ca0aae941d4d51e3 /drivers/media/dvb/dvb-usb
parent45145b67f5895ff92207cffd74e65460a87920b2 (diff)
[media] lmedm04 ver 1.96 Turn off PID filter by default
Problems with the PID setting stalling demux on applications like VDR and MythTV. The PID filter is now defaulted to OFF. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/lmedm04.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c
index 291f6b110399..c33134c5d514 100644
--- a/drivers/media/dvb/dvb-usb/lmedm04.c
+++ b/drivers/media/dvb/dvb-usb/lmedm04.c
@@ -104,8 +104,7 @@ MODULE_PARM_DESC(firmware, "set default firmware 0=Sharp7395 1=LG");
104 104
105static int pid_filter; 105static int pid_filter;
106module_param_named(pid, pid_filter, int, 0644); 106module_param_named(pid, pid_filter, int, 0644);
107MODULE_PARM_DESC(pid, "set default 0=on 1=off"); 107MODULE_PARM_DESC(pid, "set default 0=default 1=off 2=on");
108
109 108
110DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); 109DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
111 110
@@ -653,7 +652,7 @@ static int lme2510_identify_state(struct usb_device *udev,
653 struct dvb_usb_device_description **desc, 652 struct dvb_usb_device_description **desc,
654 int *cold) 653 int *cold)
655{ 654{
656 if (pid_filter > 0) 655 if (pid_filter != 2)
657 props->adapter[0].fe[0].caps &= 656 props->adapter[0].fe[0].caps &=
658 ~DVB_USB_ADAP_NEED_PID_FILTERING; 657 ~DVB_USB_ADAP_NEED_PID_FILTERING;
659 *cold = 0; 658 *cold = 0;
@@ -1295,5 +1294,5 @@ module_usb_driver(lme2510_driver);
1295 1294
1296MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); 1295MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
1297MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); 1296MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0");
1298MODULE_VERSION("1.91"); 1297MODULE_VERSION("1.96");
1299MODULE_LICENSE("GPL"); 1298MODULE_LICENSE("GPL");