misc: tegra-cec: replace dev_err with dev_info.

The probe retry message shall not be error message.
Replacing it with dev_info to fix kernel warning test.

bug 3578262

Change-Id: I8fd016e11b6edc14a402214a44c1e916bcc0d16e
Signed-off-by: prafulls <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2685084
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
prafulls
2022-03-22 07:26:52 +00:00
committed by Prafull Suryawanshi
parent bcd8f08d84
commit 3e3bd3b5f0

View File

@@ -1,7 +1,7 @@
/*
* drivers/misc/tegra-cec/tegra_cec.c
*
* Copyright (c) 2012-2021, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2012-2022, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -751,7 +751,7 @@ static int tegra_cec_probe(struct platform_device *pdev)
rst = devm_reset_control_get(&pdev->dev, "cec");
if (IS_ERR(rst)) {
/* BPMP reset mechanism not available, return and retry again */
dev_err(&pdev->dev, "reset control is not found, deferring probe to retry again.\n");
dev_info(&pdev->dev, "reset control is not found, deferring probe to retry again.\n");
devm_kfree(&pdev->dev, cec);
reset_retry_count--;
return -EPROBE_DEFER;
@@ -759,7 +759,7 @@ static int tegra_cec_probe(struct platform_device *pdev)
/* take CEC engine out of reset */
if (reset_control_reset(rst) != 0) {
dev_err(&pdev->dev, "reset control reset failed, deferring probe to retry again.\n");
dev_info(&pdev->dev, "reset control reset failed, deferring probe to retry again.\n");
devm_kfree(&pdev->dev, cec);
reset_retry_count--;
return -EPROBE_DEFER;