commit | 8d16e27a0c78d00fc1a802ae5b88d115c35edee8 | [log] [tgz] |
---|---|---|
author | Soundrapandian Jeyaprakash <jsoundra@codeaurora.org> | Thu Oct 12 11:05:37 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Oct 17 17:30:49 2017 -0700 |
tree | e9478893eb5c1e390a77ee1a9ed1680328c3224d | |
parent | b518595267ba00b290861bd2c4ebfb5872811494 [diff] [blame] |
msm: camera: Close camera sub modules, sudevices & video node The camera kernel module fds needs to be closed when the camera server crashes. Flush all real time node requests and issue shutdown call to all associated sub devices and modules. Change-Id: I8d4f76c14316b88a61e74941f990fbe3f0095ad7 Signed-off-by: Soundrapandian Jeyaprakash <jsoundra@codeaurora.org> Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
diff --git a/drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_dev.h b/drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_dev.h index 1897eb6..1583c27 100644 --- a/drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_dev.h +++ b/drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_dev.h
@@ -49,6 +49,7 @@ enum cam_flash_state { CAM_FLASH_STATE_INIT, + CAM_FLASH_STATE_ACQUIRE, CAM_FLASH_STATE_LOW, CAM_FLASH_STATE_HIGH, CAM_FLASH_STATE_RELEASE,