From: Jelle Foks Date: Mon, 21 May 2007 17:56:17 +0000 (-0300) Subject: V4L/DVB (5816): Cx88-blackbird: fix vidioc_g_tuner never ending list of tuners X-Git-Tag: v2.6.22~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f057131fb6eb2c45f6023e3da41ccd6e4e71aee9;p=pandora-kernel.git 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 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed