diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-17 18:41:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-17 18:41:23 -0300 |
commit | ae3fc98c477de56e87e3720f441b274ae6e0927a (patch) | |
tree | 87fb437de15c9ce7ae65b3ac0004cafac3547721 /linux/drivers/media/video/em28xx/em28xx-core.c | |
parent | 9e6571d86577f8ff7f62488314f41c08eb0e6d5a (diff) | |
download | mediapointer-dvb-s2-ae3fc98c477de56e87e3720f441b274ae6e0927a.tar.gz mediapointer-dvb-s2-ae3fc98c477de56e87e3720f441b274ae6e0927a.tar.bz2 |
em28xx-core: speed-up firmware load
From: Devin Heitmueller <devin.heitmueller@gmail.com>
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>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-core.c')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-core.c b/linux/drivers/media/video/em28xx/em28xx-core.c index c56a9b183..baf3ad22f 100644 --- a/linux/drivers/media/video/em28xx/em28xx-core.c +++ b/linux/drivers/media/video/em28xx/em28xx-core.c @@ -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; } |