]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/pci/rme9652/hdsp.c
Merge remote-tracking branch 'sound-current/for-linus'
[karo-tx-linux.git] / sound / pci / rme9652 / hdsp.c
index 9bba275b4c9b08ba3dd4ff763afd6b17669af48d..2875b4f6d8c9e6a792638547d4b6850fa620a857 100644 (file)
@@ -5112,6 +5112,7 @@ static int hdsp_request_fw_loader(struct hdsp *hdsp)
                dev_err(hdsp->card->dev,
                        "too short firmware size %d (expected %d)\n",
                           (int)fw->size, HDSP_FIRMWARE_SIZE);
+               release_firmware(fw);
                return -EINVAL;
        }