[media] s5p-fimc: Fix initialization for proper system suspend support
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 4 Nov 2011 12:59:52 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 23:01:50 +0000 (21:01 -0200)
commit7aa9f1844a3aac428ef7977a9f1da706718afe0d
treee1d76d7c5808e305b13b07edaefdbc66e35c6ff2
parent64c570f505a0eac4914402bb7832d019c44eabd8
[media] s5p-fimc: Fix initialization for proper system suspend support

ST_LPM bit must not be initially set, so the first resume helper
call properly quiesce the device's operation.
Also fimc_runtime_suspend() at device remove is unneeded and
leads to unbalanced clock disable so remove it.

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/video/s5p-fimc/fimc-core.c