summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-02-26 11:16:56 +0100
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-03-09 16:39:07 +0200
commitc42e8109103c0773c1e76704d9e4ff57cf1d2a71 (patch)
tree385684e9e235a71be6f352ae1556439653c765bc
parentd07913aa52fad756df40347893091aeb57455066 (diff)
downloadop-kernel-dev-c42e8109103c0773c1e76704d9e4ff57cf1d2a71.zip
op-kernel-dev-c42e8109103c0773c1e76704d9e4ff57cf1d2a71.tar.gz
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>
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wireless/iwlwifi/pcie/drv.c
index 0f52e96..22b6b7e 100644
--- a/drivers/net/wireless/iwlwifi/pcie/drv.c
+++ b/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);
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;
}
OpenPOWER on IntegriCloud