mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
V4L/DVB (7720): pvrusb2: Fix bad error code on cx23416 firmware load failure
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
1cb03b76d0
commit
17a7b6642d
1 changed files with 1 additions and 1 deletions
|
@ -1265,7 +1265,7 @@ int pvr2_upload_firmware2(struct pvr2_hdw *hdw)
|
|||
" must be a multiple of %zu bytes",
|
||||
fw_files[fwidx],sizeof(u32));
|
||||
release_firmware(fw_entry);
|
||||
return -1;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL);
|
||||
|
|
Loading…
Reference in a new issue