Explorar el Código

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>
Johannes Berg hace 11 años
padre
commit
c42e810910
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      drivers/net/wireless/iwlwifi/pcie/drv.c

+ 2 - 1
drivers/net/wireless/iwlwifi/pcie/drv.c

@@ -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;
 	}
 	}