kernel-fxtec-pro1x/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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-blackbird.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-cards.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-core.c V4L/DVB: cx88: fix checks for analog TV inputs 2010-05-19 12:57:21 -03:00
cx88-dsp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-dvb.c V4L/DVB: cx88-dvb: fix on switch identation 2010-05-19 12:56:41 -03:00
cx88-i2c.c V4L/DVB (11844): ir-kbd-i2c: Switch to the new-style device binding model 2009-06-16 18:21:11 -03:00
cx88-input.c V4L/DVB: ir-core: remove IR_TYPE_PD 2010-05-19 12:58:25 -03:00
cx88-mpeg.c V4L/DVB: cx88: fix setting input when using DVB 2010-05-19 12:58:27 -03:00
cx88-reg.h
cx88-tvaudio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-video.c V4L/DVB: cx88: improve error handling 2010-05-19 12:57:31 -03:00
cx88-vp3054-i2c.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-vp3054-i2c.h
cx88.h V4L/DVB: cx88: Only start IR if the input device is opened 2010-05-18 00:53:04 -03:00
Kconfig V4L/DVB (13407): Add Prof 7301 PCI DVB-S2 card 2009-12-05 18:41:43 -02:00
Makefile V4L/DVB (11394): cx88: Add support for stereo and sap detection for A2 2009-06-16 19:14:17 -03:00