]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: ov5645: Supported external clock is 24MHz
authorTodor Tomov <todor.tomov@linaro.org>
Mon, 18 Jun 2018 08:06:58 +0000 (04:06 -0400)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:48:33 +0000 (19:48 -0600)
commit643c367fbff0a9e085e78040f12ab3da0519313d
treeb9d1b068a6176d7067c43f04958a3deb0aa5ca61
parent7a6b1813a5aabbbbd78932de1653378ee993a645
media: ov5645: Supported external clock is 24MHz

BugLink: https://bugs.launchpad.net/bugs/1836117
[ Upstream commit 4adb0a0432f489c5eb802b33dae7737f69e6fd7a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/media/i2c/ov5645.c