]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: ov7670: make try_fmt() consistent with 'min_height' and 'min_width'
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 29 Jan 2013 10:14:27 +0000 (07:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 16:24:53 +0000 (14:24 -0200)
commitf748cd3ec8039a01d260ba0d51687afdf93c6e67
tree39c404aebea951c28530459fdb22ab548c4a968d
parentd058e23704ad7e0b6876a94b0d8428dcef510b49
[media] media: ov7670: make try_fmt() consistent with 'min_height' and 'min_width'

'min_height' and 'min_width' are variables that allow to specify the minimum
resolution that the sensor will achieve. This patch make v4l2 fmt callbacks
consider this parameters in order to return valid data to user space.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ov7670.c