From: Tomasz Figa Date: Wed, 26 Jun 2013 13:37:14 +0000 (-0300) Subject: [media] exynos4-is: Handle suspend/resume of fimc-is-i2c correctly X-Git-Tag: v3.12-rc1~135^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d334ab08e8e1f6907d44c716f852f49076e957ca;p=pandora-kernel.git [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 Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed