Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118712
b: refs/heads/master
c: 8268c8f
h: refs/heads/master
v: v3
  • Loading branch information
Daniel J Blueman authored and Mauro Carvalho Chehab committed Nov 11, 2008
1 parent 0c725c7 commit 2468e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 7c34158f206dca89c717e6818d04b8db187155a3
refs/heads/master: 8268c8f54505e5b952d1705a7bf3b2a218ed26bf
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/dvb-usb-urb.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf,
{
int actlen,ret = -ENOMEM;

if (!d || wbuf == NULL || wlen == 0)
return -EINVAL;

if (d->props.generic_bulk_ctrl_endpoint == 0) {
err("endpoint for generic control not specified.");
return -EINVAL;
}

if (wbuf == NULL || wlen == 0)
return -EINVAL;

if ((ret = mutex_lock_interruptible(&d->usb_mutex)))
return ret;

Expand Down

0 comments on commit 2468e7f

Please sign in to comment.