Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202026
b: refs/heads/master
c: 2b3c543
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent d23af19 commit a207abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 1ece36097d0170a41fc129b8b1823a36ec2fb5c6
refs/heads/master: 2b3c543a839cafeb3edd7e1a2202d86318801fd9
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/tlg2300/pd-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,11 @@ static int firmware_download(struct usb_device *udev)

fwlength = fw->size;

fwbuf = kzalloc(fwlength, GFP_KERNEL);
fwbuf = kmemdup(fw->data, fwlength, GFP_KERNEL);
if (!fwbuf) {
ret = -ENOMEM;
goto out;
}
memcpy(fwbuf, fw->data, fwlength);

max_packet_size = udev->ep_out[0x1]->desc.wMaxPacketSize;
log("\t\t download size : %d", (int)max_packet_size);
Expand Down

0 comments on commit a207abc

Please sign in to comment.