linux/drivers/media/video/cx88
Istvan Varga d922b8ea33 V4L/DVB: cx88: fix setting input when using DVB
In cx88-mpeg.c, there is code that sets core->input to CX88_VMUX_DVB.
However, this may be incorrect, since core->input is actually an
index to core->board.input[], which has not enough elements to be
indexed by the value of CX88_VMUX_DVB. So, the modified code searches
core->board.input[] for an input with a type of CX88_VMUX_DVB, and if
it does not find one, the index is simply set to zero.
The change may not have much effect, though, since it appears the only
case when core->input is actually used is when the current input is
being queried.

Signed-off-by: Istvan Varga <istvanv@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:58:27 -03:00
..
cx88-alsa.c
cx88-blackbird.c
cx88-cards.c
cx88-core.c
cx88-dsp.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
Kconfig
Makefile