aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-04-21 02:48:41 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:49 -0400
commit17a7b6642da13f789471895677c98736ac85f43a (patch)
tree73119576e300ff8afda4b4e18a2760fec4d1b88b
parent1cb03b76d09d20accfa5c1664c16ba6566f539a0 (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>
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
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);