media: ov2640: set all mbus format field when G_FMT and S_FMT ioctls
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 9 Dec 2018 05:20:33 +0000 (00:20 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 17:45:51 +0000 (12:45 -0500)
commitbd0405f929ce4c8b8bd0feca0a8efe144345306b
tree79ab26c24dfe116fb368ab79f861b2aa435fccb8
parent8d3b307a150a50cb7c1c905209488dbfe9b6221a
media: ov2640: set all mbus format field when G_FMT and S_FMT ioctls

This driver doesn't set all members of mbus format field when the
VIDIOC_SUBDEV_{S,G}_FMT ioctls are called.

This is detected by v4l2-compliance.

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/ov2640.c