All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Fix the format field order value for progressive subdevs
@ 2014-05-26 19:05 Laurent Pinchart
  2014-05-26 19:06 ` [PATCH 1/6] v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format Laurent Pinchart
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Laurent Pinchart @ 2014-05-26 19:05 UTC (permalink / raw)
  To: linux-media
  Cc: Sylwester Nawrocki, Hans Verkuil, Andrzej Hajda, Sakari Ailus,
	Sangwook Lee

Hello,

This patch set fixes five sensor drivers and one camera interface driver to
return a format field order value set to V4L2_FIELD_NONE instead of
V4L2_FIELD_ANY.

V4L2_FIELD_ANY is used by applications to notify the driver that they don't
care about the interlaced video field order. The value must never be returned
by drivers, they must instead select a default field order they support.

The six drivers fixed by this patch all forgot to initialize the field order,
resulting in V4L2_FIELD_ANY (=0) being returned. As all those drivers support
progressive video only, make them return V4L2_FIELD_NONE instead.

Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Sangwook Lee <sangwook.lee@linaro.org>

Laurent Pinchart (6):
  v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format
  v4l: s5k4ecgx: Return V4L2_FIELD_NONE from pad-level set format
  v4l: s5k5baf: Return V4L2_FIELD_NONE from pad-level set format
  v4l: s5k6a3: Return V4L2_FIELD_NONE from pad-level set format
  v4l: smiapp: Return V4L2_FIELD_NONE from pad-level get/set format
  v4l: s3c-camif: Return V4L2_FIELD_NONE from pad-level set format

 drivers/media/i2c/noon010pc30.c                  | 1 +
 drivers/media/i2c/s5k4ecgx.c                     | 1 +
 drivers/media/i2c/s5k5baf.c                      | 2 ++
 drivers/media/i2c/s5k6a3.c                       | 1 +
 drivers/media/i2c/smiapp/smiapp-core.c           | 3 +++
 drivers/media/platform/s3c-camif/camif-capture.c | 2 ++
 6 files changed, 10 insertions(+)

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-05-26 20:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 19:05 [PATCH 0/6] Fix the format field order value for progressive subdevs Laurent Pinchart
2014-05-26 19:06 ` [PATCH 1/6] v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format Laurent Pinchart
2014-05-26 19:06 ` [PATCH 2/6] v4l: s5k4ecgx: " Laurent Pinchart
2014-05-26 19:06 ` [PATCH 3/6] v4l: s5k5baf: " Laurent Pinchart
2014-05-26 19:06 ` [PATCH 4/6] v4l: s5k6a3: " Laurent Pinchart
2014-05-26 19:06 ` [PATCH 5/6] v4l: smiapp: Return V4L2_FIELD_NONE from pad-level get/set format Laurent Pinchart
2014-05-26 20:56   ` Sakari Ailus
2014-05-26 19:06 ` [PATCH 6/6] v4l: s3c-camif: Return V4L2_FIELD_NONE from pad-level set format Laurent Pinchart
2014-05-26 19:27 ` [PATCH 0/6] Fix the format field order value for progressive subdevs Sylwester Nawrocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.