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

Commit 3eff6a69 authored by Meera Gande's avatar Meera Gande
Browse files

msm: camera: isp: Fix request frame while CDS is on



When CDS is in progress, request frame should be supported.
Added additional check for validation of state.

Change-Id: Ie8c319e7a9ebbfe3d301b3a4a1110c46cf73b034
Signed-off-by: default avatarMeera Gande <mgande@codeaurora.org>
parent 46211fdd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3884,7 +3884,9 @@ int msm_isp_update_axi_stream(struct vfe_device *vfe_dev, void *arg)
			update_cmd->update_type !=
			UPDATE_STREAM_REMOVE_BUFQ &&
			update_cmd->update_type !=
			UPDATE_STREAM_SW_FRAME_DROP) {
			UPDATE_STREAM_SW_FRAME_DROP &&
			update_cmd->update_type !=
			UPDATE_STREAM_REQUEST_FRAMES_VER2) {
			pr_err("%s: Invalid stream state %d, update cmd %d\n",
				__func__, stream_info->state,
				stream_info->stream_id);