summaryrefslogtreecommitdiff
path: root/drivers/media/usb/uvc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-10-31 13:01:49 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 10:33:43 (GMT)
commit59b702ea9f4467bf6b6281d5d21cebfc1fa11e8d (patch)
treea838e18a832ed594f6b84062189c1dacf46f8e2e /drivers/media/usb/uvc
parent2228d80dd05a4fc5a410fde847677b8fb3eb23d7 (diff)
downloadlinux-59b702ea9f4467bf6b6281d5d21cebfc1fa11e8d.tar.xz
[media] v4l2: get/set prio using video_dev prio structure
The v4l2_device structure embed a v4l2_prio_state structure used by default for priority handling, but drivers can override that default by setting the video_dev prio pointer to a different v4l2_prio_state instance. However, the VIDIO_G_PRIORITY and VIDIOC_S_PRIORITY implementations use the prio state embedded in v4l2_device unconditionally, breaking drivers that need to override the default. Fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc')
0 files changed, 0 insertions, 0 deletions