media: mt9m111: set initial frame size other than 0x0
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 15 Jan 2019 14:05:41 +0000 (12:05 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 Jan 2019 13:01:12 +0000 (11:01 -0200)
commit29856308137de1c21eda89411695f4fc6e9780ff
tree902a0c0f72edede1225ec93f8d73df042ea652f8
parent2e1566abe54b3ad3e5094c7b80883bc70eda6539
media: mt9m111: set initial frame size other than 0x0

This driver sets initial frame width and height to 0x0, which is invalid.
So set it to selection rectangle bounds instead.

This is detected by v4l2-compliance detected.

Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/mt9m111.c