Re: [RFC PATCH v0] Add tw5864 driver
From: Andrey Utkin
Date: Fri Mar 11 2016 - 08:23:51 EST
On Fri, 11 Mar 2016 10:59:02 +0100
Hans Verkuil <hverkuil@xxxxxxxxx> 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.