mirror of https://gitee.com/openkylin/linux.git
iwlwifi: pcie: suppress ACPI related error message
This message triggers on systems that don't support the API, so suppress them when not debugging as it's not useful to see it there. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
d07913aa52
commit
c42e810910
|
@ -448,7 +448,8 @@ static void set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev)
|
||||||
|
|
||||||
pxsx_handle = ACPI_HANDLE(&pdev->dev);
|
pxsx_handle = ACPI_HANDLE(&pdev->dev);
|
||||||
if (!pxsx_handle) {
|
if (!pxsx_handle) {
|
||||||
IWL_ERR(trans, "Could not retrieve root port ACPI handle");
|
IWL_DEBUG_INFO(trans,
|
||||||
|
"Could not retrieve root port ACPI handle");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue