Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ff16384 authored by Hariram Purushothaman's avatar Hariram Purushothaman
Browse files

msm: camera: Setting max msm_post timeout to 6.5seconds



Setting MAX timeout to 6.5seconds considering
backend will operate @ .6fps in certain usecases
like Long exposure usecase and isp needs max of 2 frames
to stop the hardware which will be around 3 seconds.

Change-Id: I9a219004dbecd3f42810dcf1200b79f1929b003a
Signed-off-by: default avatarHariram Purushothaman <hariramp@codeaurora.org>
parent 8b477bbf
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -29,7 +29,11 @@
#include <media/videobuf2-dma-contig.h>
#include <media/msmb_camera.h>

#define MSM_POST_EVT_TIMEOUT 5000
/* Setting MAX timeout to 6.5seconds considering
 * backend will operate @ .6fps in certain usecases
 * like Long exposure usecase and isp needs max of 2 frames
 * to stop the hardware which will be around 3 seconds*/
#define MSM_POST_EVT_TIMEOUT 6500
#define MSM_POST_EVT_NOTIMEOUT 0xFFFFFFFF
#define MSM_CAMERA_STREAM_CNT_BITS  32