diff options
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, | |||
177 | /* the read/write capped at 64 */ | 177 | /* the read/write capped at 64 */ |
178 | memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); | 178 | memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); |
179 | 179 | ||
180 | ret |= usb_clear_halt(d->udev, usb_sndbulkpipe(d->udev, 0x01)); | ||
181 | |||
182 | ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); | 180 | ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); |
183 | 181 | ||
184 | ret |= usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, 0x01)); | ||
185 | |||
186 | ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ? | 182 | ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ? |
187 | rlen : 64 , 0x01); | 183 | rlen : 64 , 0x01); |
188 | 184 | ||
@@ -1290,5 +1286,5 @@ module_usb_driver(lme2510_driver); | |||
1290 | 1286 | ||
1291 | MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); | 1287 | MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>"); |
1292 | MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); | 1288 | MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0"); |
1293 | MODULE_VERSION("1.97"); | 1289 | MODULE_VERSION("1.98"); |
1294 | MODULE_LICENSE("GPL"); | 1290 | MODULE_LICENSE("GPL"); |