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

Commit 00813b39 authored by Petar Sivenov's avatar Petar Sivenov Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: fix initial frame drop for burst streams



Initial frame drop was bypassed for burst streams which lead to
writing of more than requested number frames, some of which are
invalid.

Change-Id: I51384f1c9943fc48007384b17134eb785baa58ad
Signed-off-by: default avatarPetar Sivenov <psiven@codeaurora.org>
parent b940677f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -418,6 +418,8 @@ void msm_isp_cfg_framedrop_reg(struct vfe_device *vfe_dev,
			 * userspace reg update is delayed */
			framedrop_pattern =
			      (1 << stream_info->runtime_burst_frame_count) - 1;
			framedrop_pattern <<=
				stream_info->runtime_init_frame_drop;
			/* Alternate maximum two values for period to ensure
			 * that two identical consecutive patterns will still be
			 * applied. Otherwise HW cannot detect that we make 2