summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/it913x.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2012-01-03 10:27:06 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 16:07:42 +0100
commit245900c4a7a7d23c2e5b2b64b70770debcac5814 (patch)
treeea1c119e7df3e8ef6ee28945ae591ca6ae323d9a /drivers/media/dvb/dvb-usb/it913x.c
parent[media] [resend] em28xx: Add Plextor ConvertX PX-AV100U to em28xx-cards.c (diff)
downloadlinux-245900c4a7a7d23c2e5b2b64b70770debcac5814.tar.xz
linux-245900c4a7a7d23c2e5b2b64b70770debcac5814.zip
[media] it913x ver 1.22 corrections to Tuner IDs
Correction to tuner ID 0x51. Don't force tuner ID 0x60 unless eprom data zero. 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/it913x.c')
-rw-r--r--drivers/media/dvb/dvb-usb/it913x.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c
index 21b7478ca7dc..eb6a1bb6bffc 100644
--- a/drivers/media/dvb/dvb-usb/it913x.c
+++ b/drivers/media/dvb/dvb-usb/it913x.c
@@ -397,7 +397,8 @@ static int ite_firmware_select(struct usb_device *udev,
else if (le16_to_cpu(udev->descriptor.idProduct) ==
USB_PID_ITETECH_IT9135_9006) {
sw = IT9135_V2_FW;
- it913x_config.tuner_id_0 = 0x60;
+ if (it913x_config.tuner_id_0 == 0)
+ it913x_config.tuner_id_0 = IT9135_60;
} else
sw = IT9137_FW;
@@ -836,5 +837,5 @@ module_exit(it913x_module_exit);
MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
MODULE_DESCRIPTION("it913x USB 2 Driver");
-MODULE_VERSION("1.21");
+MODULE_VERSION("1.22");
MODULE_LICENSE("GPL");