]> git.baikalelectronics.ru Git - kernel.git/commit
media: tvp5150: add default format helper
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 28 Jun 2018 16:20:39 +0000 (12:20 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 17:26:15 +0000 (13:26 -0400)
commit00fd38f1729cb0534e31006c7756bcb195a9321f
tree137d711f85f1091e58c9a3c70ad67b844ede2575
parent666d95bdb511d052a33d20a9fa72b3fead659f46
media: tvp5150: add default format helper

The patch adds three macros to bundle the mbus_framefmt default
values and a helper function to set the the default crop and
mbus_framefmt values.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/tvp5150.c