From: Sylwester Nawrocki Date: Wed, 16 May 2012 14:35:04 +0000 (-0300) Subject: [media] s5p-fimc: Fix bug in capture node open() X-Git-Tag: v3.5-rc7~15^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e614bb4c581eb588ec26f130fcdd65aa047fa8;p=pandora-kernel.git [media] s5p-fimc: Fix bug in capture node open() When video pipeline initialization fails, the ST_CAPT_BUSY flag needs to be cleared before pm_runtime_put_sync is called. Otherwise the runtime suspend routine tries to suspend device, rather than just turning it off. Also fix potential null pointer dereference in fimc_pipeline_shutdown(). Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed