media: ov5647: Add set_fmt and get_fmt calls.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 19 Nov 2020 16:19:30 +0000 (17:19 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 15:04:18 +0000 (16:04 +0100)
commit0f87233a473de6cc22c4785d53aea41c1939f0c9
treed408b1cfab381c9fd53ad27f669156d61de648d6
parentdea4fcfe77d25f8069ef6a48dab9b732c4074ee2
media: ov5647: Add set_fmt and get_fmt calls.

There's no way to query the subdevice for the supported
resolutions. Add set_fmt and get_fmt implementations. Since there's
only one format supported set_fmt does nothing and get returns single
format.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov5647.c