Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250224
b: refs/heads/master
c: a760d63
h: refs/heads/master
v: v3
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent 3e8da4f commit c38edab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 853e3b2930001534b88fb36e936c9a734a79046c
refs/heads/master: a760d63878b21fc16997b79e8ebee531b40c8b26
12 changes: 6 additions & 6 deletions trunk/drivers/media/dvb/dvb-usb/lmedm04.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ static int lme2510_usb_talk(struct dvb_usb_device *d,
}
buff = st->usb_buffer;

/* the read/write capped at 512 */
memcpy(buff, wbuf, (wlen > 512) ? 512 : wlen);

ret = mutex_lock_interruptible(&d->usb_mutex);

if (ret < 0)
return -EAGAIN;

/* the read/write capped at 512 */
memcpy(buff, wbuf, (wlen > 512) ? 512 : wlen);

ret |= usb_clear_halt(d->udev, usb_sndbulkpipe(d->udev, 0x01));

ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01);
Expand Down Expand Up @@ -1247,7 +1247,7 @@ static struct dvb_usb_device_properties lme2510c_properties = {
}
};

void *lme2510_exit_int(struct dvb_usb_device *d)
static void *lme2510_exit_int(struct dvb_usb_device *d)
{
struct lme2510_state *st = d->priv;
struct dvb_usb_adapter *adap = &d->adapter[0];
Expand All @@ -1274,7 +1274,7 @@ void *lme2510_exit_int(struct dvb_usb_device *d)
return buffer;
}

void lme2510_exit(struct usb_interface *intf)
static void lme2510_exit(struct usb_interface *intf)
{
struct dvb_usb_device *d = usb_get_intfdata(intf);
void *usb_buffer;
Expand Down Expand Up @@ -1316,5 +1316,5 @@ module_exit(lme2510_module_exit);

MODULE_AUTHOR("Malcolm Priestley <tvboxspy@gmail.com>");
MODULE_DESCRIPTION("LME2510(C) DVB-S USB2.0");
MODULE_VERSION("1.84");
MODULE_VERSION("1.85");
MODULE_LICENSE("GPL");

0 comments on commit c38edab

Please sign in to comment.