aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2012-01-28 16:02:34 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-08 07:53:59 -0500
commitfc594e3e5196d4cf7ace7735eeca399f7a80868b (patch)
tree5bee37b20eab02261490a8cc4b9f9c685818f355 /drivers/media
parentdb5823b52c87b42567504b3976edfc5dc50ab8c4 (diff)
[media] it913x ver 1.24 Make 0x60 default on version 2 devices
Some version 2 devices have different tuner IDs. ID 0x38 appears to have weak signal strength. Apply default 0x60 to unknown IDs. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/it913x.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c
index 50d578c7b8c8..c80098ad34ab 100644
--- a/drivers/media/dvb/dvb-usb/it913x.c
+++ b/drivers/media/dvb/dvb-usb/it913x.c
@@ -409,8 +409,15 @@ static int ite_firmware_select(struct usb_device *udev,
409 it913x_config.firmware_ver = 1; 409 it913x_config.firmware_ver = 1;
410 it913x_config.adc_x2 = 1; 410 it913x_config.adc_x2 = 1;
411 props->firmware = fw_it9135_v2; 411 props->firmware = fw_it9135_v2;
412 if (it913x_config.tuner_id_0 == 0) 412 switch (it913x_config.tuner_id_0) {
413 case IT9135_61:
414 case IT9135_62:
415 break;
416 default:
417 info("Unknown tuner ID applying default 0x60");
418 case IT9135_60:
413 it913x_config.tuner_id_0 = IT9135_60; 419 it913x_config.tuner_id_0 = IT9135_60;
420 }
414 break; 421 break;
415 case IT9137_FW: 422 case IT9137_FW:
416 default: 423 default:
@@ -818,5 +825,5 @@ module_usb_driver(it913x_driver);
818 825
819MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); 826MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
820MODULE_DESCRIPTION("it913x USB 2 Driver"); 827MODULE_DESCRIPTION("it913x USB 2 Driver");
821MODULE_VERSION("1.23"); 828MODULE_VERSION("1.24");
822MODULE_LICENSE("GPL"); 829MODULE_LICENSE("GPL");