From: Laurent Pinchart Date: Fri, 31 Oct 2014 13:01:49 +0000 (-0300) Subject: [media] v4l2: get/set prio using video_dev prio structure X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b702ea9f4467bf6b6281d5d21cebfc1fa11e8d;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed