Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Miroslav Slugen and committed by
Mauro Carvalho Chehab
9ee8537f a7c8aada

+2 -2
+2 -2
drivers/media/video/cx23885/cx23885-cards.c
··· 213 213 .portc = CX23885_MPEG_DVB, 214 214 .tuner_type = TUNER_XC4000, 215 215 .tuner_addr = 0x61, 216 - .radio_type = TUNER_XC4000, 217 - .radio_addr = 0x61, 216 + .radio_type = UNSET, 217 + .radio_addr = ADDR_UNSET, 218 218 .input = {{ 219 219 .type = CX23885_VMUX_TELEVISION, 220 220 .vmux = CX25840_VIN2_CH1 |