uvc-gadget: Use V4L2 helper functions
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 22 May 2018 07:23:16 +0000 (10:23 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 22 May 2018 07:23:16 +0000 (10:23 +0300)
commitab92702a44f8521d5deef3e2ac9f35514bbe7c9a
tree65bd1f8cdff826bf62cb47af9c4296f120377315
parent73a03b3571e14233232494f301303ebba14957dc
uvc-gadget: Use V4L2 helper functions

Replace the manual implementation of the V4L2 ioctls with the V4L2
helper functions from v4l2.c. This cleans up the code and simplifies
handling of the V4L2 API.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
uvc-gadget.c