summaryrefslogtreecommitdiff
path: root/drivers/base/firmware_class.c
diff options
context:
space:
mode:
authorDeepak Katragadda <dkatraga@codeaurora.org>2014-12-11 13:25:54 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:07:39 -0700
commit098d246f8c3a376c0c2425bd95ce8b8183a44e43 (patch)
tree93d1b3cd7d40511a745692621eecc9d397ba8e9b /drivers/base/firmware_class.c
parent9543a56f1050601a76075a4f76d22f7e6dc0f8ea (diff)
firmware_class: Change print levels for some warnings
Currently, when _request_firmware() fails to find the firmware from the default /lib location, a couple of error messages are printed denoting the same. Change the print level for these messages from dev_warn to dev_dbg as it is fairly common to have the user-space helper loading the firmware for us. Change-Id: I5e06b3785f58e85eda45d32130b9acbc75cd2c0a Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org> [vmulukut: adjusted for upstream changes] Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r--drivers/base/firmware_class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c
index fa173ee07a7d..5016a16501e7 100644
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
@@ -1326,11 +1326,11 @@ static int _request_firmware(struct fw_desc *desc)
desc->dest_addr, desc->dest_size);
if (ret) {
if (!(desc->opt_flags & FW_OPT_NO_WARN))
- dev_warn(desc->device,
+ dev_dbg(desc->device,
"Direct firmware load for %s failed with error %d\n",
desc->name, ret);
if (desc->opt_flags & FW_OPT_USERHELPER) {
- dev_warn(desc->device, "Falling back to user helper\n");
+ dev_dbg(desc->device, "Falling back to user helper\n");
ret = fw_load_from_user_helper(fw, desc, timeout);
}
}