[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160311152334.1c053054@zver>
Date: Fri, 11 Mar 2016 15:23:34 +0200
From: Andrey Utkin <andrey.utkin@...p.bluecherry.net>
To: Hans Verkuil <hverkuil@...all.nl>
Cc: Linux Media <linux-media@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kernel-mentors@...enic.com" <kernel-mentors@...enic.com>,
devel@...verdev.osuosl.org,
kernel-janitors <kernel-janitors@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
Andrey Utkin <andrey_utkin@...tmail.com>
Subject: Re: [RFC PATCH v0] Add tw5864 driver
On Fri, 11 Mar 2016 10:59:02 +0100
Hans Verkuil <hverkuil@...all.nl> wrote:
> While userspace may specify FIELD_ANY when setting a format, the
> driver should always map that to a specific field setting and should
> never return FIELD_ANY back to userspace.
>
> In this case, the 'field' field of the v4l2_buffer struct has
> FIELD_ANY which means it is not set correctly (or at all) in the
> driver.
>
> It's a common mistake, which is why v4l2-compliance tests for it :-)
Thanks for great guidance Hans, finally I have solved all issues.
You can review latest state at tw5864 branch, also you can review
changelog of v4l2-compliance fixing at tags tw5864_pre_1.11,
tw5864_pre_1.10 of https://github.com/bluecherrydvr/linux .
I will make a final internal review before submission, and try
to submit the driver for inclusion.
Everybody is appreciated to make any comments even before submission,
the actual code to review is at tw5864 branch.
Powered by blists - more mailing lists