mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-23 01:35:10 +03:00
tegra: hwpm: expand debug log masks
Add more debug masks to better manage debug prints. Jira THWPM-41 Change-Id: Ibfa41f0aeb0e630e264a12d9e15df363eb4774dc Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2715619 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
5518c6ea4c
commit
bd8ca72dc2
@@ -90,6 +90,9 @@ void tegra_soc_hwpm_ip_register(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops)
|
||||
}
|
||||
|
||||
if (tegra_soc_hwpm_pdev == NULL) {
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info | hwpm_dbg_ip_register,
|
||||
"Noting IP 0x%llx register request",
|
||||
hwpm_ip_ops->ip_base_address);
|
||||
ret = tegra_hwpm_note_ip_register(hwpm_ip_ops);
|
||||
if (ret != 0) {
|
||||
tegra_hwpm_err(NULL,
|
||||
@@ -103,7 +106,7 @@ void tegra_soc_hwpm_ip_register(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops)
|
||||
}
|
||||
hwpm = platform_get_drvdata(tegra_soc_hwpm_pdev);
|
||||
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info,
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info | hwpm_dbg_ip_register,
|
||||
"Register IP 0x%llx", hwpm_ip_ops->ip_base_address);
|
||||
|
||||
ret = hwpm->active_chip->extract_ip_ops(hwpm,
|
||||
@@ -126,7 +129,8 @@ void tegra_soc_hwpm_ip_unregister(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops)
|
||||
}
|
||||
|
||||
if (tegra_soc_hwpm_pdev == NULL) {
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info, "HWPM device not available");
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info | hwpm_dbg_ip_register,
|
||||
"HWPM device not available");
|
||||
} else {
|
||||
if (hwpm_ip_ops->ip_dev == NULL) {
|
||||
tegra_hwpm_err(hwpm, "IP dev to unregister is NULL");
|
||||
@@ -134,7 +138,7 @@ void tegra_soc_hwpm_ip_unregister(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops)
|
||||
}
|
||||
hwpm = platform_get_drvdata(tegra_soc_hwpm_pdev);
|
||||
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info,
|
||||
tegra_hwpm_dbg(hwpm, hwpm_info | hwpm_dbg_ip_register,
|
||||
"Unregister IP 0x%llx", hwpm_ip_ops->ip_base_address);
|
||||
|
||||
ret = hwpm->active_chip->extract_ip_ops(hwpm,
|
||||
|
||||
Reference in New Issue
Block a user