msm: camera: icp: Print lx7 status registers

If lx7 collapse/resume fails dump status registers to help
narrow down the cause. The change also adds a write barrier
post HOST2ICP trigger.

CRs-Fixed: 2841729
Change-Id: I8201a1c84e0455044fccf88cc86a865bb89356a7
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
このコミットが含まれているのは:
Karthik Anantha Ram
2021-06-03 22:01:03 -07:00
committed by Gerrit - the friendly Code Review server
コミット c357648fcd
3個のファイルの変更16行の追加3行の削除

ファイルの表示

@@ -214,6 +214,9 @@ int hfi_write_cmd(void *cmd_ptr)
*/
wmb();
hfi_irq_raise(g_hfi);
/* Ensure HOST2ICP trigger is received by FW */
wmb();
err:
mutex_unlock(&hfi_cmd_q_mutex);
return rc;