diff options
author | Jelle Foks <jelle@foks.8m.com> | 2007-07-10 00:03:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-08-04 09:10:26 -0700 |
commit | cb8b4a0fc6d8deb72b8fba4132d8344507775a05 (patch) | |
tree | d3a6d6287e77dad17785010a5e9fa0d4bac648e1 /usr/gen_init_cpio.c | |
parent | b13e6270f923cfa63a62343f6aef13fba4d252ce (diff) |
V4L: 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions