]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28c742a96db14b2feeac66d43877c5be54f9c7e8
treed408b1cfab381c9fd53ad27f669156d61de648d6
parent65418a551183fbe9c760ef8049eacc283297c8af
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