From: Andy Walls Date: Sat, 10 Jan 2009 01:59:27 +0000 (-0300) Subject: V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards X-Git-Tag: v2.6.27.21~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32145abccae99820e3850acd458eb2a1934fb0e5;p=pandora-kernel.git V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards commit cd8f894eacf13996d920fdd2aef1afc55156b191 upstream. 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 Tested-by: Mark Jenks Signed-off-by: Mark Jenks Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jarod Wilson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed