瀏覽代碼

V4L/DVB (7339): ivtv: add support for Japanese variant of the Adaptec AVC-2410

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Hans Verkuil 17 年之前
父節點
當前提交
d00573bbe9
共有 2 個文件被更改,包括 4 次插入5 次删除
  1. 3 4
      drivers/media/video/ivtv/ivtv-cards.c
  2. 1 1
      drivers/media/video/ivtv/ivtv-cards.h

+ 3 - 4
drivers/media/video/ivtv/ivtv-cards.c

@@ -416,11 +416,10 @@ static const struct ivtv_card ivtv_card_avc2410 = {
 	   on the country/region setting of the user to decide which tuner
 	   on the country/region setting of the user to decide which tuner
 	   is available. */
 	   is available. */
 	.tuners = {
 	.tuners = {
-		/* This tuner has been verified for the AVC2410 */
 		{ .std = V4L2_STD_625_50, .tuner = TUNER_PHILIPS_FM1216ME_MK3 },
 		{ .std = V4L2_STD_625_50, .tuner = TUNER_PHILIPS_FM1216ME_MK3 },
-		/* This is a good guess, but I'm not totally sure this is
-		   the correct tuner for NTSC. */
-		{ .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FM1236_MK3 },
+		{ .std = V4L2_STD_ALL - V4L2_STD_NTSC_M_JP,
+			.tuner = TUNER_PHILIPS_FM1236_MK3 },
+		{ .std = V4L2_STD_NTSC_M_JP, .tuner = TUNER_PHILIPS_FQ1286 },
 	},
 	},
 	.pci_list = ivtv_pci_avc2410,
 	.pci_list = ivtv_pci_avc2410,
 	.i2c = &ivtv_i2c_std,
 	.i2c = &ivtv_i2c_std,

+ 1 - 1
drivers/media/video/ivtv/ivtv-cards.h

@@ -119,7 +119,7 @@
 
 
 #define IVTV_CARD_MAX_VIDEO_INPUTS 6
 #define IVTV_CARD_MAX_VIDEO_INPUTS 6
 #define IVTV_CARD_MAX_AUDIO_INPUTS 3
 #define IVTV_CARD_MAX_AUDIO_INPUTS 3
-#define IVTV_CARD_MAX_TUNERS  	   2
+#define IVTV_CARD_MAX_TUNERS  	   3
 
 
 /* SAA71XX HW inputs */
 /* SAA71XX HW inputs */
 #define IVTV_SAA71XX_COMPOSITE0 0
 #define IVTV_SAA71XX_COMPOSITE0 0