commit | 2264d15a9df52b0c0d009c7cd08d7aeabe6d503e | [log] [tgz] |
---|---|---|
author | Rajakumar Govindaram <rajakuma@codeaurora.org> | Mon Sep 11 10:53:31 2017 -0700 |
committer | Rajakumar Govindaram <rajakuma@codeaurora.org> | Wed Sep 13 23:23:51 2017 -0700 |
tree | 4f90b9767004fc7b3e54b264296c07a850ebfa6e | |
parent | 7677665f7fcffbe633b1242980bf06f58ce15070 [diff] [blame] |
msm: camera: jpeg: stability fixes Fix deadlock on burst by doing mutex unlock and fix unbalanced irq enable by adding refcount. Change-Id: I79cbefefe5fd9a9d1c895a7a68fe18895ff8c23b Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
diff --git a/drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_core.h b/drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_core.h index bb4e34a..1e0c2e2 100644 --- a/drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_core.h +++ b/drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_core.h
@@ -41,6 +41,8 @@ struct cam_jpeg_dma_device_hw_info *jpeg_dma_hw_info; uint32_t cpas_handle; struct cam_jpeg_dma_set_irq_cb irq_cb; + int32_t ref_count; + struct mutex core_mutex; }; int cam_jpeg_dma_init_hw(void *device_priv,