Skip to content

Commit

Permalink
V4L/DVB (7609): em28xx-core: speed-up firmware load
Browse files Browse the repository at this point in the history
em28xx-core.c:
 - Remove sleep in i2c message routine which slows down i2c by a factor
   10x.  Load time for BASE firmware went from 13s to .973s

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 8324402 commit 7640ea9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/video/em28xx/em28xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
ret = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, 0), req,
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
0x0000, reg, bufs, len, HZ);
msleep(5); /* FIXME: magic number */
kfree(bufs);
return ret;
}
Expand Down

0 comments on commit 7640ea9

Please sign in to comment.