cnss2: Change log level for non-critical cases

Change log level from cnss_pr_err to cnss_pr_vdbg for
some non-critial cases.

Change-Id: I66b16afe5327bab77d52a1ba1b5d72fb88c71715
CRs-Fixed: 3509919
This commit is contained in:
Chaoli Zhou
2023-05-23 13:52:17 +08:00
committed by Gerrit - the friendly Code Review server
parent de80f12c97
commit 7cd9a66ccc
2 changed files with 3 additions and 3 deletions

View File

@@ -4952,8 +4952,8 @@ static int cnss_probe(struct platform_device *plat_dev)
ret = cnss_get_pld_bus_ops_name(plat_priv); ret = cnss_get_pld_bus_ops_name(plat_priv);
if (ret) if (ret)
cnss_pr_err("Failed to find bus ops name, err = %d\n", cnss_pr_vdbg("Failed to find bus ops name, err = %d\n",
ret); ret);
ret = cnss_get_rc_num(plat_priv); ret = cnss_get_rc_num(plat_priv);

View File

@@ -2211,7 +2211,7 @@ cnss_get_plat_priv_by_driver_ops(struct cnss_wlan_driver *driver_ops)
} }
} }
cnss_pr_err("Invalid cnss driver name from ko %s\n", driver_ops->name); cnss_pr_vdbg("Invalid cnss driver name from ko %s\n", driver_ops->name);
/* in the dual wlan card case, the pld_bus_ops_name from dts /* in the dual wlan card case, the pld_bus_ops_name from dts
* and driver_ops-> name from ko should match, otherwise * and driver_ops-> name from ko should match, otherwise
* wlanhost driver don't know which plat_env it can use; * wlanhost driver don't know which plat_env it can use;