[media] ov2640: fix duplicate width+height returning from ov2640_select_win()
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 16 Apr 2017 17:35:44 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 11:58:41 +0000 (08:58 -0300)
commit38eeb491cf81dc8552d8b2e29f4f1807cb6e4d11
tree1867517c2ff58903c832e629d0ae0b29cdcb0cf9
parent2f7711b2ad3b2e2aa3e9e3db4d3a2887e38b52b3
[media] ov2640: fix duplicate width+height returning from ov2640_select_win()

ov2640_select_win() returns height and width values as part of struct
ov2640_win_size, so there is no point in modifying the passed height and
width parameters, too.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov2640.c