OSDN Git Service

media: imx258: Check the rotation property has a value of 180
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 23 May 2018 09:33:32 +0000 (05:33 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 27 Jun 2018 13:49:11 +0000 (09:49 -0400)
commit17121d12a5c1089bdfce429bc6f7ae2c25d9d25d
treee9df50769474980c8700f418bca631a7cf5573cf
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819
media: imx258: Check the rotation property has a value of 180

The driver only supports streaming images flipped horizontally and
vertically. In order to ensure that all current users will be fine if or
when support for upright streaming is added, require the presence of the
"rotation" control now.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: "Lai, Jim" <jim.lai@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/imx258.c