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)
commit5cb8294013a45734d1a27cc0a35706a2c54eeaea
tree137d711f85f1091e58c9a3c70ad67b844ede2575
parente62fdbb24c342f78e431e05925097165cc0e05e9
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