diff options
author | Mike Isely <isely@pobox.com> | 2008-04-21 02:48:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:49 -0400 |
commit | 17a7b6642da13f789471895677c98736ac85f43a (patch) | |
tree | 73119576e300ff8afda4b4e18a2760fec4d1b88b /drivers/media/video/pvrusb2 | |
parent | 1cb03b76d09d20accfa5c1664c16ba6566f539a0 (diff) |
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>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 72e9056557bd..a3e40adc2c13 100644 --- 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) | |||
1265 | " must be a multiple of %zu bytes", | 1265 | " must be a multiple of %zu bytes", |
1266 | fw_files[fwidx],sizeof(u32)); | 1266 | fw_files[fwidx],sizeof(u32)); |
1267 | release_firmware(fw_entry); | 1267 | release_firmware(fw_entry); |
1268 | return -1; | 1268 | return -EINVAL; |
1269 | } | 1269 | } |
1270 | 1270 | ||
1271 | fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); | 1271 | fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); |