浏览代码

[media] cx23885: Don't duplicate xc4000 entry for radio

All radio tuners in cx23885 driver using same address for radio and
tuner, so there is no need to probe it twice for same tuner and we can
use radio_type UNSET.

Be aware radio support in cx23885 is not yet committed, so this is only
minor fix for future support.

Signed-off-by: Miroslav Slugen <thunder.mmm@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Miroslav Slugen 13 年之前
父节点
当前提交
9ee8537f60
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/media/video/cx23885/cx23885-cards.c

+ 2 - 2
drivers/media/video/cx23885/cx23885-cards.c

@@ -213,8 +213,8 @@ struct cx23885_board cx23885_boards[] = {
 		.portc		= CX23885_MPEG_DVB,
 		.portc		= CX23885_MPEG_DVB,
 		.tuner_type	= TUNER_XC4000,
 		.tuner_type	= TUNER_XC4000,
 		.tuner_addr	= 0x61,
 		.tuner_addr	= 0x61,
-		.radio_type	= TUNER_XC4000,
-		.radio_addr	= 0x61,
+		.radio_type	= UNSET,
+		.radio_addr	= ADDR_UNSET,
 		.input		= {{
 		.input		= {{
 			.type	= CX23885_VMUX_TELEVISION,
 			.type	= CX23885_VMUX_TELEVISION,
 			.vmux	= CX25840_VIN2_CH1 |
 			.vmux	= CX25840_VIN2_CH1 |