media: ov5647: Implement set_fmt pad operation
authorJacopo Mondi <jacopo@jmondi.org>
Thu, 19 Nov 2020 16:32:38 +0000 (17:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 15:19:12 +0000 (16:19 +0100)
commit6869e971b084ada46c42669822321560256ea085
tree0c8bd56df85b09d49299d10669ca6d5021b963cf
parent87576ac69996fa3488424723723f7f8d2cebc3b3
media: ov5647: Implement set_fmt pad operation

Now that the driver supports more than a single mode, implement the
.set_fmt pad operation and adjust the existing .get_fmt one to report
the currently applied format.

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