projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb03b7
)
V4L/DVB (7720): pvrusb2: Fix bad error code on cx23416 firmware load failure
author
Mike Isely
<isely@pobox.com>
Mon, 21 Apr 2008 06:48:41 +0000
(
03:48
-0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:49 +0000
(14:09 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index
72e9056
..
a3e40ad
100644
(file)
--- a/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@
-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);