[Bug 698825] v4l2: handle return value -ENOTTY for unimplemented VIDIOC_G_PARM

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 30 02:29:05 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698825
  GStreamer | gst-plugins-good | git

Michael Olbrich <m.olbrich> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #4 from Michael Olbrich <m.olbrich at pengutronix.de> 2013-04-30 09:28:58 UTC ---
I couldn't find the code path in the kernel that caused this issue so I dropped
the patch. Now I came across the issue again. It exists in v3.9 and has existed
for some time.
What happens is basically this:

drivers/media/v4l2-core/v4l2-ioctl.c:
__video_do_ioctl(...)
{
[...]
     long ret = -ENOTTY;
[...]
  if (!test_bit(_IOC_NR(cmd), vfd->valid_ioctls) ...)
    goto done;
[...]
done:
[...]
  return ret;
}

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list