]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (12948): v4l1-compat: fix VIDIOC_G_STD handling
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 15 Sep 2009 11:08:20 +0000 (08:08 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:21:50 +0000 (10:21 -0800)
commita2ddf6aff5cd6f0a6a00e226720900a473480278
tree0b2fb5d1fcce6d968943a859c88e236cf0fd6f26
parent7087c84b4239187f0196a35dcc577aecf7eca77c
V4L/DVB (12948): v4l1-compat: fix VIDIOC_G_STD handling

commit 707ca1e30f087f9a6d144693dafc4b67880678c2 upstream.

The VIDIOC_G_STD ioctl may not be present in the case of radio receivers.
In that case G_STD will return an error. The v4l1-compat layer should not
attempt to propagate that error to the caller, instead it should be
ignored.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/v4l1-compat.c