cnss2: Change log level for non-critical case

Missing respectivie reserved memory region for wlan
device during cnss probe phase is not a critical
case, so change the log level to avoid confusion.

Change-Id: I629fd94ab8f20176a0c3854b0b1d8f6f53b1b407
CRs-Fixed: 3472865
This commit is contained in:
Chaoli Zhou
2023-04-20 11:15:06 +08:00
committed by Madan Koyyalamudi
parent 97303bf330
commit cb3e0fc715

View File

@@ -644,9 +644,13 @@ int cnss_pci_of_reserved_mem_device_init(struct cnss_pci_data *pci_priv)
* attached to platform device of_node. * attached to platform device of_node.
*/ */
ret = of_reserved_mem_device_init(dev_pci); ret = of_reserved_mem_device_init(dev_pci);
if (ret) if (ret) {
cnss_pr_err("Failed to init reserved mem device, err = %d\n", if (ret == -EINVAL)
ret); cnss_pr_vdbg("Ignore, no specific reserved-memory assigned\n");
else
cnss_pr_err("Failed to init reserved mem device, err = %d\n",
ret);
}
if (dev_pci->cma_area) if (dev_pci->cma_area)
cnss_pr_dbg("CMA area is %s\n", cnss_pr_dbg("CMA area is %s\n",
cma_get_name(dev_pci->cma_area)); cma_get_name(dev_pci->cma_area));