]> 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)
commitf29a912e32677eefa3be528063297c74a139750a
tree0bba7563d6acbcc3c53bcd8e3b02e9e4def95524
parent8273c402ecbf967e41879f20fd119a84f272b0d5
[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