lkml.org 
[lkml]   [2013]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/4] [media] em28xx: Fix vidioc fmt vid cap v4l2 compliance
From
On Tue, Jul 16, 2013 at 7:06 PM, Alban Browaeys
<alban.browaeys@gmail.com> wrote:
> Set fmt.pix.priv to zero in vidioc_g_fmt_vid_cap
> and vidioc_try_fmt_vid_cap.

Any reason not to have the v4l2 core do this before dispatching to the
driver? Set it to zero before the core calls g_fmt. This avoids all
the drivers (most of which don't use the field) from having to set the
value themselves.

Devin

--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com


\
 
 \ /
  Last update: 2013-07-18 05:01    [W:0.072 / U:3.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site