Skip to content

Commit

Permalink
V4L/DVB (5729): Remove support for 256 Kb firmware files.
Browse files Browse the repository at this point in the history
For backwards compatibility firmware files of 256 Kb were allowed: all
drivers have now been updated to support the newer larger firmwares so
remove this compatibility code and only support the newer firmware.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 74fa39e commit a957641
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/media/video/ivtv/ivtv-firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv
volatile u32 __iomem *dst = (volatile u32 __iomem *)mem;
const u32 *src = (const u32 *)fw->data;

/* temporarily allow 256 KB encoding firmwares as well for
compatibility with blackbird cards */
if (fw->size != size && fw->size != 256 * 1024) {
if (fw->size != size) {
/* Due to race conditions in firmware loading (esp. with udev <0.95)
the wrong file was sometimes loaded. So we check filesizes to
see if at least the right-sized file was loaded. If not, then we
Expand Down

0 comments on commit a957641

Please sign in to comment.