android_kernel_xiaomi_sm8350/drivers/media/video/cx23885
Andy Walls cd8f894eac V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards
Analog support for HVR-1250 has not been completed, but does exist for
the HVR-1800.

Since both cards use the same driver, it tries to create the analog
dev for both devices, which is not possible.

This causes a NULL error to show up in video_open and mpeg_open.

-Mark

Iterations through the cx23885_devlist must check for NULL
pointers as some supported devices only have DVB support at the moment.
Mark Jenks encoutered an Oops in a system with both an HVR-1250 and HVR-1800
installed.

-Andy

Reported-by: Mark Jenks <mjenks1968@gmail.com>
Tested-by: Mark Jenks <mjenks1968@gmail.com>
Signed-off-by: Mark Jenks <mjenks1968@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-29 08:35:38 -02:00
..
cx23885-417.c V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards 2009-01-29 08:35:38 -02:00
cx23885-cards.c
cx23885-core.c
cx23885-dvb.c
cx23885-i2c.c
cx23885-reg.h
cx23885-vbi.c
cx23885-video.c V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards 2009-01-29 08:35:38 -02:00
cx23885.h
Kconfig
Makefile