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

Commit 56861a75 authored by Ravikishore Pampana's avatar Ravikishore Pampana Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: jpeg: Reset all blocks during jpeg reset



Add block formatter and jpeg domain reset bit in the
Jpeg reset command. This avoids the random jpeg hw
hang after flush.

CRs-Fixed: 2716815
Change-Id: Ia7779ef9edbe8a4f801209556e878d2c35713e26
Signed-off-by: default avatarRavikishore Pampana <rpampana@codeaurora.org>
parent 9684d05c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -65,7 +65,7 @@ static struct cam_jpeg_enc_device_hw_info cam_jpeg_enc_hw_info = {
		.int_mask_disable_all = 0x00000000,
		.int_mask_enable_all = 0xFFFFFFFF,
		.hw_cmd_start = 0x00000001,
		.reset_cmd = 0x00032093,
		.reset_cmd = 0x200320D3,
		.hw_cmd_stop = 0x00000002,
	},
	.int_status = {