diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-08-10 18:08:42 +0800 |
---|---|---|
committer | Liu Ying <Ying.liu@freescale.com> | 2012-08-15 18:41:32 +0800 |
commit | b0af671c8edaccc586d63e0af93ef9a142dc5859 (patch) | |
tree | fa1671ba09d021f544f13db44ac57d4b00a6ee70 /drivers/char | |
parent | 051754dd1cdfb1476ddbf4ebcd04881c420ed9b1 (diff) |
ENGR00219859 MXC V4L2 capture:Pwr down/on opened cam
Currently, we support 2 cameras, which are relevant to
2 video devices respectively. This patch checks if video
device is opened to determine whether we need to power
down/on relevant camera when doing suspend/resume.
Also, this patch protects capture resources with busy
lock semaphore.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 874198b89a89aa6e792754a0a51c46084ed93d1a)
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions