]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ov7670: calculate framerate properly for ov7675
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 29 Jan 2013 10:16:59 +0000 (07:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 16:27:48 +0000 (14:27 -0200)
commit8122b4a4127fe2170adc884661d08087e1913fed
tree0bba7563d6acbcc3c53bcd8e3b02e9e4def95524
parentc522b1d8acffe2be1b245b7f767b42fdf8c9b2e0
[media] media: ov7670: calculate framerate properly for ov7675

According to the datasheet ov7675 uses a formula to achieve
the desired framerate that is different from the operations
done in the current code.
In fact, this formula should apply to ov7670 too. This would
mean that current code is wrong but, in order to preserve
compatibility, the new formula will be used for ov7675 only.

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