Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330555
b: refs/heads/master
c: 24ed693
h: refs/heads/master
i:
  330553: e2b911a
  330551: 2b682f9
v: v3
  • Loading branch information
Jiri Slaby authored and Mauro Carvalho Chehab committed Jul 31, 2012
1 parent 179dece commit 7c9157d
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: 660e22c7b008f1b21283cc2d786b2dd7c7790440
refs/heads/master: 24ed693da0cefede7382d498dd5e9a83f0a21c38
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/dib0700_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,13 +768,13 @@ int dib0700_rc_setup(struct dvb_usb_device *d)
/* Starting in firmware 1.20, the RC info is provided on a bulk pipe */
purb = usb_alloc_urb(0, GFP_KERNEL);
if (purb == NULL) {
err("rc usb alloc urb failed\n");
err("rc usb alloc urb failed");
return -ENOMEM;
}

purb->transfer_buffer = kzalloc(RC_MSG_SIZE_V1_20, GFP_KERNEL);
if (purb->transfer_buffer == NULL) {
err("rc kzalloc failed\n");
err("rc kzalloc failed");
usb_free_urb(purb);
return -ENOMEM;
}
Expand All @@ -786,7 +786,7 @@ int dib0700_rc_setup(struct dvb_usb_device *d)

ret = usb_submit_urb(purb, GFP_ATOMIC);
if (ret) {
err("rc submit urb failed\n");
err("rc submit urb failed");
kfree(purb->transfer_buffer);
usb_free_urb(purb);
}
Expand Down

0 comments on commit 7c9157d

Please sign in to comment.