]> git.baikalelectronics.ru Git - kernel.git/commit
clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 25 Jul 2013 21:07:05 +0000 (23:07 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 13 Aug 2013 17:01:56 +0000 (10:01 -0700)
commitc29bae0efcb1984ce9eb0af734515477b5dadb83
tree60be6b273f79e63f27e3b4a5c6b1788ff54cd55d
parent28b32ef939703a80ef568d1c404f91cd034e225a
clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks

The ISP clock registers belong to the ISP power domain and may change
their values if this power domain is switched off/on. Add
CLK_GET_RATE_NOCACHE flags to ensure we do not rely on invalid cached
data when setting or getting frequency of those clocks.

Without this fix the FIMC-IS Cortex-A5 core and AXI bus clocks have
incorrect frequencies, which breaks the ISP operation and starting the
video pipeline fails with timeouts reported by the FIMC-IS firmware.

See related commit 8a740ea57e5dc0b091d687480e9ffd4c9a8 "[media]
exynos4-is: Fix FIMC-IS clocks initialization" for more details.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/samsung/clk-exynos4.c