[media] vimc: common: Add vimc_colorimetry_clamp
authorHelen Fornazier <helen.koike@collabora.com>
Mon, 19 Jun 2017 17:00:15 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Jun 2017 12:06:02 +0000 (09:06 -0300)
commit441c0db6e5a2f07f91b72e31a22a19180d28ebf5
treecc401c10416395d2a6bf1284d90ac644fc116f5b
parent288a22d45c631f5be5e1c8b83977a78841083d3c
[media] vimc: common: Add vimc_colorimetry_clamp

Colorimetry value will always be checked in the same way. Adding a
helper macro for that

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-common.h