commit | f748cd3ec8039a01d260ba0d51687afdf93c6e67 | [log] [tgz] |
---|---|---|
author | Javier Martin <javier.martin@vista-silicon.com> | Tue Jan 29 07:14:27 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Feb 08 14:24:53 2013 -0200 |
tree | 39c404aebea951c28530459fdb22ab548c4a968d | |
parent | d058e23704ad7e0b6876a94b0d8428dcef510b49 [diff] |
[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>