aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-firmware.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-17 12:42:43 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-20 16:35:46 -0400
commitae38d93bd710d8014925f1cb9b689dc89c13d778 (patch)
tree22c2248afdfa33ae294f9ba4d16d03f4f467a658 /drivers/media/video/ivtv/ivtv-firmware.c
parent11d28766deedc8bcadc87db8a65775a41c15789a (diff)
V4L/DVB (5854): ivtv: cleanup of driver messages
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-firmware.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-firmware.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-firmware.c b/drivers/media/video/ivtv/ivtv-firmware.c
index 2b6208a6a108..5bc45c9f0df2 100644
--- a/drivers/media/video/ivtv/ivtv-firmware.c
+++ b/drivers/media/video/ivtv/ivtv-firmware.c
@@ -61,7 +61,7 @@ retry:
61 the wrong file was sometimes loaded. So we check filesizes to 61 the wrong file was sometimes loaded. So we check filesizes to
62 see if at least the right-sized file was loaded. If not, then we 62 see if at least the right-sized file was loaded. If not, then we
63 retry. */ 63 retry. */
64 IVTV_INFO("retry: file loaded was not %s (expected size %ld, got %zd)\n", fn, size, fw->size); 64 IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zd)\n", fn, size, fw->size);
65 release_firmware(fw); 65 release_firmware(fw);
66 retries--; 66 retries--;
67 goto retry; 67 goto retry;
@@ -73,11 +73,11 @@ retry:
73 src++; 73 src++;
74 } 74 }
75 release_firmware(fw); 75 release_firmware(fw);
76 IVTV_INFO("loaded %s firmware (%zd bytes)\n", fn, fw->size); 76 IVTV_INFO("Loaded %s firmware (%zd bytes)\n", fn, fw->size);
77 return size; 77 return size;
78 } 78 }
79 IVTV_ERR("unable to open firmware %s (must be %ld bytes)\n", fn, size); 79 IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size);
80 IVTV_ERR("did you put the firmware in the hotplug firmware directory?\n"); 80 IVTV_ERR("Did you put the firmware in the hotplug firmware directory?\n");
81 return -ENOMEM; 81 return -ENOMEM;
82} 82}
83 83