[media] [BUG] it913x ver 1.21 Fixed for issue with 9006 and warm boot
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 2 Jan 2012 17:49:28 +0000 (14:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 15:05:32 +0000 (13:05 -0200)
Some channels appear weak signal after warm boot.

Because tuner id is not present in eprom 0x38 is
assigned.

9006 devices are now always assigned 0x60.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/it913x.c

index 6bf2086b54d301555ea2bca1c4ae43ce3ac440c2..21b7478ca7dcfac69bc13aa8be9a7bdf9c6e45da 100644 (file)
@@ -395,9 +395,10 @@ static int ite_firmware_select(struct usb_device *udev,
                        USB_PID_ITETECH_IT9135_9005)
                sw = IT9135_V1_FW;
        else if (le16_to_cpu(udev->descriptor.idProduct) ==
-                       USB_PID_ITETECH_IT9135_9006)
+                       USB_PID_ITETECH_IT9135_9006) {
                sw = IT9135_V2_FW;
-       else
+               it913x_config.tuner_id_0 = 0x60;
+       } else
                sw = IT9137_FW;
 
        /* force switch */
@@ -835,5 +836,5 @@ module_exit(it913x_module_exit);
 
 MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
 MODULE_DESCRIPTION("it913x USB 2 Driver");
-MODULE_VERSION("1.20");
+MODULE_VERSION("1.21");
 MODULE_LICENSE("GPL");