]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2018 06:38:00 +0000 (08:38 +0200)
commitf86f6ebc1bf5ab2394a2866ea66ebed6ae3ba978
tree15b044af3a8dda58eaed450dfc413fdd1ee16740
parent28b6561183ed02dcb3a5f2d261c4a5b46976fa5c
media: ov5645: Supported external clock is 24MHz

[ 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>
drivers/media/i2c/ov5645.c