summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunid Wilson <sunid@codeaurora.org>2010-10-19 00:50:01 -0700
committerSunid Wilson <sunid@codeaurora.org>2010-10-19 00:50:01 -0700
commit2017412bddfa0b1d705c315aea1c879ed9606594 (patch)
treec5c556c7ebc0213c89754928949332ab511f41fc
parentc2581bd36b6df1b30f25c049a5b83f7983cfce48 (diff)
downloadbionic-2017412bddfa0b1d705c315aea1c879ed9606594.zip
bionic-2017412bddfa0b1d705c315aea1c879ed9606594.tar.gz
bionic-2017412bddfa0b1d705c315aea1c879ed9606594.tar.bz2
camera: Added new IOCTL to handle "Abort capture" usecase
Change-Id: I17c69828dbee8baab244054522b4294b119df773 CRs-fixed: 260328
-rw-r--r--libc/kernel/common/media/msm_camera.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h
index 447b1ab..f6397a2 100644
--- a/libc/kernel/common/media/msm_camera.h
+++ b/libc/kernel/common/media/msm_camera.h
@@ -90,6 +90,8 @@
#define MSM_CAM_IOCTL_ERROR_CONFIG _IOW(MSM_CAM_IOCTL_MAGIC, 32, uint32_t *)
+#define MSM_CAM_IOCTL_ABORT_CAPTURE _IO(MSM_CAM_IOCTL_MAGIC, 33)
+
#define MSM_CAMERA_LED_OFF 0
#define MSM_CAMERA_LED_LOW 1
#define MSM_CAMERA_LED_HIGH 2