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)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:15:25 +0000 (00:15 -0300)
commit707ca1e30f087f9a6d144693dafc4b67880678c2
treec485bdf7ac2f1fd49fc154502edb94ef1511a7ca
parent3a360ced7b3756efbfe822871cc36dc0490fc46b
V4L/DVB (12948): v4l1-compat: fix VIDIOC_G_STD handling

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>
drivers/media/video/v4l1-compat.c