diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-03-07 18:06:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 14:48:33 -0300 |
commit | 77c2402dc6c900a2d60587cd83bc1ee3dd39c460 (patch) | |
tree | 9c9c2575fb4eabe5121bb58b31e07a8d105f3b7f /drivers | |
parent | 3caaa20121495145cd8fef274d6eea5d90ee7182 (diff) | |
download | linux-77c2402dc6c900a2d60587cd83bc1ee3dd39c460.tar.gz linux-77c2402dc6c900a2d60587cd83bc1ee3dd39c460.tar.bz2 linux-77c2402dc6c900a2d60587cd83bc1ee3dd39c460.zip |
[media] lmedm04 v1.98 Remove clear halt
These were in the original lme2510 device driver.
Removing them significantly speeds up the driver.
All tuners tested.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-usb/lmedm04.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c index 3e6ed2800af2..a251583fe292 100644 --- a/drivers/media/dvb/dvb-usb/lmedm04.c +++ b/drivers/media/dvb/dvb-usb/lmedm04.c @@ -177,12 +177,8 @@ static int lme2510_usb_talk(struct dvb_usb_device *d, /* the read/write capped at 64 */ memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); - ret |= usb_clear_halt(d->udev, usb_sndbulkpipe(d->udev, 0x01)); - ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); - ret |= usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, 0x01)); - ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ? rlen : 64 , 0x01); @@ -1290,5 +1286,5 @@ module_usb_driver(lme2510_driver); MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); -MODULE_VERSION("1.97"); +MODULE_VERSION("1.98"); MODULE_LICENSE("GPL"); |