media: ov5645: Supported external clock is 24MHz
authorTodor Tomov <todor.tomov@linaro.org>
Mon, 18 Jun 2018 08:06:58 +0000 (04:06 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 24 Jul 2018 19:00:22 +0000 (15:00 -0400)
commit4adb0a0432f489c5eb802b33dae7737f69e6fd7a
treeff4ff55aa66dccb19289cf212507144b8458edea
parent53cf3100dd3af5f4ffbbe272e34f2150157aa425
media: ov5645: Supported external clock is 24MHz

The external clock frequency was set to 23.88MHz by mistake
because of a platform which cannot get closer to 24MHz.
The supported by the driver external clock is 24MHz so
set it correctly and also fix the values of the pixel
clock and link clock.
However allow 1% tolerance to the external clock as this
difference is small enough to be insignificant.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov5645.c