[media] i2c: ov2659: signedness bug inov2659_set_fmt()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Apr 2015 19:12:18 +0000 (16:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 10:18:06 +0000 (07:18 -0300)
commit5f5859d1c158b42343d343f5d1aa6de8643b8cf6
treec5ab97b20a7c5a8893dcb8a23eb6d23c1b14fd96
parent48b25a3a713b90988b6882d318f7c0a6bed9aabc
[media] i2c: ov2659: signedness bug inov2659_set_fmt()

This needs to be signed or there is a risk of hitting a forever loop.

Fixes: c4c0283ab3cd ('[media] media: i2c: add support for omnivision's ov2659 sensor')

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov2659.c