]> git.karo-electronics.de Git - linux-beck.git/commit
[media] exynos4-is: Fix FIMC-IS clocks initialization
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 14 Jun 2013 13:44:30 +0000 (10:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jun 2013 12:06:01 +0000 (09:06 -0300)
commit722a860ecb29aa34ec6f7d7f32b949209e86a2f3
tree10163feada5e85e889a5d681282b2f5a46b5d358
parenta908eb9936ba06678720226feed891d01827066f
[media] exynos4-is: Fix FIMC-IS clocks initialization

The ISP clock register content is not preserved over the ISP power domain
off/on cycle. Instead of setting the clock frequencies once at probe time
the clock rates set up is moved to the runtime_resume handler, which is
invoked after the related power domain is already enabled, ensuring the
clocks are properly configured when the device is actively used.
This fixes the FIMC-IS malfunctions and STREAM ON timeout errors accuring
on some boards:
[ 59.860000] fimc_is_general_irq_handler:583 ISR_NDONE: 5: 0x800003e8, IS_ERROR_UNKNOWN
[ 59.860000] fimc_is_general_irq_handler:586 IS_ERROR_TIME_OUT

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-is.c
drivers/media/platform/exynos4-is/fimc-is.h