diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-22 16:12:26 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-22 16:12:26 +0200 |
commit | 6770b01cb561bd73b137af96861696b9e56688ac (patch) | |
tree | dab6031ec5b11f315b9d011d8a937f3c396146af /linux/drivers/media/video | |
parent | f7b2c8618f63ef5439293a8a7e6a96c0ab651460 (diff) | |
download | mediapointer-dvb-s2-6770b01cb561bd73b137af96861696b9e56688ac.tar.gz mediapointer-dvb-s2-6770b01cb561bd73b137af96861696b9e56688ac.tar.bz2 |
ivtv: fix incorrect fw size report.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-firmware.c b/linux/drivers/media/video/ivtv/ivtv-firmware.c index d0feabf93..425eb1063 100644 --- a/linux/drivers/media/video/ivtv/ivtv-firmware.c +++ b/linux/drivers/media/video/ivtv/ivtv-firmware.c @@ -72,8 +72,8 @@ retry: dst++; src++; } - release_firmware(fw); IVTV_INFO("Loaded %s firmware (%zd bytes)\n", fn, fw->size); + release_firmware(fw); return size; } IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size); |