V4L/DVB (5920): ivtv: fix incorrect fw size report.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Hans Verkuil 2007-07-22 11:12:26 -03:00 committed by Mauro Carvalho Chehab
parent 5a338c38ce
commit be9a5c7d9a

View File

@ -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);