[media] vivid: Local optimization
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Sat, 16 Jul 2016 09:34:19 +0000 (06:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:51:23 +0000 (15:51 -0200)
commitf1eb926d1d79a210c8a2bac2f0438163f436a077
treee8b01623099f65662e4591011c5b1c14dec55011
parent7a20f3985fb6eb74c93e5f36cf1d375a3b013d77
[media] vivid: Local optimization

Avoid duplicated clamps when possible.

Suggested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-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