diff options
author | Mike Isely <isely@pobox.com> | 2008-04-20 22:48:41 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-04-20 22:48:41 -0500 |
commit | 9284edec6bf181b1f52f742a72f68a7eec7f65ed (patch) | |
tree | 10ec8f0d4adce98b5a294f3ca219f4526c925611 /linux/drivers/media/video/pvrusb2 | |
parent | 1a68129c12a81df0ef64383ac83fc4114a98b162 (diff) | |
download | mediapointer-dvb-s2-9284edec6bf181b1f52f742a72f68a7eec7f65ed.tar.gz mediapointer-dvb-s2-9284edec6bf181b1f52f742a72f68a7eec7f65ed.tar.bz2 |
pvrusb2: Fix bad error code on cx23416 firmware load failure
From: Mike Isely <isely@pobox.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 7ebbd69a4..af8805017 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -1276,7 +1276,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); |