aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/base/firmware_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c
index ed0510a912c8..edc88bc68b3d 100644
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
@@ -718,6 +718,7 @@ _request_firmware_prepare(const struct firmware **firmware_p, const char *name,
718 mutex_lock(&fw_lock); 718 mutex_lock(&fw_lock);
719 if (test_bit(FW_STATUS_ABORT, &buf->status)) { 719 if (test_bit(FW_STATUS_ABORT, &buf->status)) {
720 fw_priv = ERR_PTR(-ENOENT); 720 fw_priv = ERR_PTR(-ENOENT);
721 firmware->priv = buf;
721 _request_firmware_cleanup(firmware_p); 722 _request_firmware_cleanup(firmware_p);
722 goto exit; 723 goto exit;
723 } else if (test_bit(FW_STATUS_DONE, &buf->status)) { 724 } else if (test_bit(FW_STATUS_DONE, &buf->status)) {