diff options
author | Mike Isely <isely@pobox.com> | 2008-04-21 03:48:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 14:09:49 -0300 |
commit | 17a7b6642da13f789471895677c98736ac85f43a (patch) | |
tree | 73119576e300ff8afda4b4e18a2760fec4d1b88b /drivers | |
parent | 1cb03b76d09d20accfa5c1664c16ba6566f539a0 (diff) | |
download | kernel-crypto-17a7b6642da13f789471895677c98736ac85f43a.tar.gz kernel-crypto-17a7b6642da13f789471895677c98736ac85f43a.tar.xz kernel-crypto-17a7b6642da13f789471895677c98736ac85f43a.zip |
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')
-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 72e9056557b..a3e40adc2c1 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) " 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); |