Commit 88495030 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab

[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: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 45145b67
...@@ -104,8 +104,7 @@ MODULE_PARM_DESC(firmware, "set default firmware 0=Sharp7395 1=LG"); ...@@ -104,8 +104,7 @@ MODULE_PARM_DESC(firmware, "set default firmware 0=Sharp7395 1=LG");
static int pid_filter; static int pid_filter;
module_param_named(pid, pid_filter, int, 0644); module_param_named(pid, pid_filter, int, 0644);
MODULE_PARM_DESC(pid, "set default 0=on 1=off"); MODULE_PARM_DESC(pid, "set default 0=default 1=off 2=on");
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
...@@ -653,7 +652,7 @@ static int lme2510_identify_state(struct usb_device *udev, ...@@ -653,7 +652,7 @@ static int lme2510_identify_state(struct usb_device *udev,
struct dvb_usb_device_description **desc, struct dvb_usb_device_description **desc,
int *cold) int *cold)
{ {
if (pid_filter > 0) if (pid_filter != 2)
props->adapter[0].fe[0].caps &= props->adapter[0].fe[0].caps &=
~DVB_USB_ADAP_NEED_PID_FILTERING; ~DVB_USB_ADAP_NEED_PID_FILTERING;
*cold = 0; *cold = 0;
...@@ -1295,5 +1294,5 @@ module_usb_driver(lme2510_driver); ...@@ -1295,5 +1294,5 @@ module_usb_driver(lme2510_driver);
MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0");
MODULE_VERSION("1.91"); MODULE_VERSION("1.96");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment