]> git.baikalelectronics.ru Git - kernel.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)
commit8a740ea57e5dc0b091d687480e9ffd4c9a811e43
tree10163feada5e85e889a5d681282b2f5a46b5d358
parentcb7e8fccf92170830ad51be6be37c91e9d192db7
[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