Hi Mauro,
Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb for the following:
- v4l1-compat: fix VIDIOC_G_STD handling
In 2.6.31 G_STD returns -EINVAL for radio devices. Unfortunately, the
V4L1 compat layer uses G_STD as well and if that returns an error, then that
error is passed on incorrectly to the caller. The effect is that for radio
devices that are used with a V4L1 application that application will no longer
work.
This fixes the compat layer to ignore any G_STD error.
It is a high-prio patch for 2.6.32 and, once in, it should be queued for the
2.6.31 stable series.
Thanks to Hermann Pitton for testing this fix.
Thanks,
Hans
diffstat:
v4l1-compat.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
--
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html