Browse Source

Merge "msm: camera: icp: Enable hang dump on failure" into camera-kernel.lnx.4.0

Camera Software Integration 5 years ago
parent
commit
d96c25f265
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

+ 2 - 0
drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

@@ -1890,6 +1890,8 @@ static int cam_icp_hw_mgr_create_debugfs_entry(void)
 		goto err;
 		goto err;
 	}
 	}
 
 
+	/* Set default hang dump lvl */
+	icp_hw_mgr.a5_fw_dump_lvl = HFI_FW_DUMP_ON_FAILURE;
 	return rc;
 	return rc;
 err:
 err:
 	debugfs_remove_recursive(icp_hw_mgr.dentry);
 	debugfs_remove_recursive(icp_hw_mgr.dentry);