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

Commit cbbf3df4 authored by Jeyaprakash Soundrapandian's avatar Jeyaprakash Soundrapandian Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: core: Remove the null check before sending flush" into dev/msm-4.9-camx

parents f754bb1b 0e24cc34
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -815,11 +815,9 @@ int32_t cam_context_stop_dev_to_hw(struct cam_context *ctx)
	if (rc)
		goto end;

	if (ctx->ctxt_to_hw_map) {
	rc = cam_context_flush_ctx_to_hw(ctx);
	if (rc)
		goto end;
	}

	/* stop hw first */
	if (ctx->hw_mgr_intf->hw_stop) {