media: smiapp: Support the "rotation" property
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 2 May 2018 20:59:00 +0000 (16:59 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 12:44:00 +0000 (08:44 -0400)
commit5f9e711b75a51b96c05f61a93b3f7c0d79dc20e2
tree25da355b6fc78f3f704ba211adda104be6e72bae
parent691faafa78e1a0eae2fa7db87a1b9c3e95dc9292
media: smiapp: Support the "rotation" property

Use the "rotation" property to tell that the sensor is mounted upside
down. This reverses the behaviour of the VFLIP and HFLIP controls as well
as the pixel order.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-core.c