]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-tpg: ignore V4L2_DV_RGB_RANGE setting for YUV formats
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 28 Jun 2016 14:14:19 +0000 (11:14 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:16:52 +0000 (16:16 -0300)
commit58b2ce8c77b9317904dce1763847029477709e97
treecdb626965c635757f09f22610d678edfa97067b9
parentae7a29d9ee440f49f6144a4276afd3a6101f9795
[media] v4l2-tpg: ignore V4L2_DV_RGB_RANGE setting for YUV formats

The V4L2_DV_RGB_RANGE_* settings are, as the name says, for RGB formats only.
So they should be ignored for non-RGB formats.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c