From: Philipp Zabel
Date: Mon, 26 May 2014 13:55:51 +0000 (-0300)
Subject: [media] mt9v032: fix hblank calculation
X-Git-Tag: cleanup-for-v3.18~114^2~210
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f17bc3f4707eb87bdb80b895911c551cdd606fbd;p=pandora-kernel.git
[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
Signed-off-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed