commit | f17bc3f4707eb87bdb80b895911c551cdd606fbd | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Mon May 26 10:55:51 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Jul 22 00:50:34 2014 -0300 |
tree | e7b6deb91d541db64f662213bc307da944a04f04 | |
parent | e9b5872ce5959298233ca43d03860eef85f4634f [diff] |
[media] mt9v032: fix hblank calculation Since (min_row_time - crop->width) can be negative, we have to do a signed comparison here. Otherwise max_t casts the negative value to unsigned int and sets min_hblank to that invalid value. Cc: stable@vger.kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>