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

Commit 9f3f5129 authored by Abhilash Kumar's avatar Abhilash Kumar
Browse files

msm: camera: Change warning logs to debug logs



Too much warning logs can cause watchdog bite. Prevent
this by changing unnecessary warning logs to debug logs.

Change-Id: I7fae436bbf95d6e58ac0795459638e4a14244aa8
Signed-off-by: default avatarAbhilash Kumar <krabhi@codeaurora.org>
parent dceaac05
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2018, 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
@@ -761,7 +761,7 @@ static int cam_mem_mgr_cleanup_table(void)
				"Buffer inactive at idx=%d, continuing", i);
			continue;
		} else {
			CAM_INFO(CAM_CRM,
			CAM_DBG(CAM_CRM,
			"Active buffer at idx=%d, possible leak needs unmapping",
			i);
			cam_mem_mgr_unmap_active_buf(i);
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2018, 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
@@ -859,7 +859,7 @@ int cam_soc_util_get_dt_properties(struct cam_hw_soc_info *soc_info)

	count = of_property_count_strings(of_node, "reg-names");
	if (count <= 0) {
		CAM_WARN(CAM_UTIL, "no reg-names found for: %s",
		CAM_DBG(CAM_UTIL, "no reg-names found for: %s",
			soc_info->dev_name);
		count = 0;
	}
@@ -896,7 +896,7 @@ int cam_soc_util_get_dt_properties(struct cam_hw_soc_info *soc_info)
	rc = of_property_read_string_index(of_node, "interrupt-names", 0,
		&soc_info->irq_name);
	if (rc) {
		CAM_WARN(CAM_UTIL, "No interrupt line preset for: %s",
		CAM_DBG(CAM_UTIL, "No interrupt line preset for: %s",
			soc_info->dev_name);
		rc = 0;
	} else {