diff options
author | Sylwester Nawrocki | 2012-05-16 16:35:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-06-25 14:16:12 +0200 |
commit | 90e614bb4c581eb588ec26f130fcdd65aa047fa8 (patch) | |
tree | 36e7cbeb740ff76d314c6d5c93a695356c333b64 /drivers/media/video/s5p-fimc/mipi-csis.h | |
parent | [media] media: pms.c needs linux/slab.h (diff) | |
download | kernel-qcow2-linux-90e614bb4c581eb588ec26f130fcdd65aa047fa8.tar.gz kernel-qcow2-linux-90e614bb4c581eb588ec26f130fcdd65aa047fa8.tar.xz kernel-qcow2-linux-90e614bb4c581eb588ec26f130fcdd65aa047fa8.zip |
[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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-fimc/mipi-csis.h')
0 files changed, 0 insertions, 0 deletions