original_kernel/drivers/media/video/cx88
Mauro Carvalho Chehab 83ee87a31d V4L/DVB (8026): Avoids an OOPS if dev struct can't be successfully recovered
On some alsa versions, it seems that snd_pcm_substream_chip(substream)
is returning a NULL pointer. This causes an OOPS, as reported by:

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/212271
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/212960

This patch avoids the OOPS by not letting and open() succeed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-26 15:58:47 -03:00
..
Kconfig
Makefile
cx88-alsa.c
cx88-blackbird.c
cx88-cards.c
cx88-core.c
cx88-dvb.c
cx88-i2c.c
cx88-input.c
cx88-mpeg.c
cx88-reg.h
cx88-tvaudio.c
cx88-vbi.c
cx88-video.c
cx88-vp3054-i2c.c
cx88-vp3054-i2c.h
cx88.h