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

Commit fc696a31 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

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

parents d76320bc 33d94b55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/uaccess.h>
@@ -1890,6 +1890,8 @@ static int cam_icp_hw_mgr_create_debugfs_entry(void)
		goto err;
	}

	/* Set default hang dump lvl */
	icp_hw_mgr.a5_fw_dump_lvl = HFI_FW_DUMP_ON_FAILURE;
	return rc;
err:
	debugfs_remove_recursive(icp_hw_mgr.dentry);