diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-06-26 10:37:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 04:51:12 -0300 |
commit | d334ab08e8e1f6907d44c716f852f49076e957ca (patch) | |
tree | 50600b3b71d4a618b052c15d3713743c5fca8513 /drivers/media/platform/exynos4-is/fimc-isp.c | |
parent | b82180dba53e71fbc1b08bc8beca75d1dea5e993 (diff) | |
download | lwn-d334ab08e8e1f6907d44c716f852f49076e957ca.tar.gz lwn-d334ab08e8e1f6907d44c716f852f49076e957ca.zip |
[media] exynos4-is: Handle suspend/resume of fimc-is-i2c correctly
If the same callbacks are used for runtime and system suspend/resume,
clocks can get disabled twice, which can lead to negative reference
counts and kernel warnings.
This patch splits suspend/resume callbacks into separate runtime and
system-wide functions, so clock gating is done correctly.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-isp.c')
0 files changed, 0 insertions, 0 deletions