[media] media: adv7180: fill in mbus format in set_fmt
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 2 Sep 2016 16:44:56 +0000 (13:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 19:31:04 +0000 (16:31 -0300)
commite0ad7a9b90a7a6fc077c975dbbb00142c0a28645
tree860202aa46f00cdabdf3cfcb8f24d96b7bb36820
parent6de690dd4e78b1bfd8e6777905203e55649d4d52
[media] media: adv7180: fill in mbus format in set_fmt

If the V4L2_SUBDEV_FORMAT_TRY is used in set_fmt the width, height etc
would not be filled.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7180.c