linux-hardened/drivers/media
Jelle Foks f057131fb6 V4L/DVB (5816): Cx88-blackbird: fix vidioc_g_tuner never ending list of tuners
v4l-info and other programs would loop indefinitely while querying the
tuners for cx88-blackbird cards.

The cause was that vidioc_g_tuner didn't return an error value for
qctrl->id != 0, making the application think there is a never ending
list of tuners...

This patch adds the same index check as done in vidioc_g_tuner() in
cx88-video.

Signed-off-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-03 15:11:16 -03:00
..
common V4L/DVB (5702): Fix Kconfig items to avoid linkedition errors 2007-06-08 08:21:12 -03:00
dvb Fix Kconfig dependency problems wrt boolean menuconfigs 2007-06-28 11:34:53 -07:00
radio Fix Kconfig dependency problems wrt boolean menuconfigs 2007-06-28 11:34:53 -07:00
video V4L/DVB (5816): Cx88-blackbird: fix vidioc_g_tuner never ending list of tuners 2007-07-03 15:11:16 -03:00
Kconfig Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-05-11 12:57:16 -07:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00