Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280797
b: refs/heads/master
c: 59bf5cf
h: refs/heads/master
i:
  280795: ef0eeaa
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 10, 2011
1 parent 7172a61 commit fa32b6a
Show file tree
Hide file tree
Showing 2 changed files with 5 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: bc677d5b64644c399cd3db6a905453e611f402ab
refs/heads/master: 59bf5cf94f0fa3b08fb1258b52649077b7d0914d
6 changes: 4 additions & 2 deletions trunk/drivers/usb/misc/isight_firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ static int isight_firmware_load(struct usb_interface *intf,

ptr = firmware->data;

buf[0] = 0x01;
if (usb_control_msg
(dev, usb_sndctrlpipe(dev, 0), 0xa0, 0x40, 0xe600, 0, "\1", 1,
(dev, usb_sndctrlpipe(dev, 0), 0xa0, 0x40, 0xe600, 0, buf, 1,
300) != 1) {
printk(KERN_ERR
"Failed to initialise isight firmware loader\n");
Expand Down Expand Up @@ -100,8 +101,9 @@ static int isight_firmware_load(struct usb_interface *intf,
}
}

buf[0] = 0x00;
if (usb_control_msg
(dev, usb_sndctrlpipe(dev, 0), 0xa0, 0x40, 0xe600, 0, "\0", 1,
(dev, usb_sndctrlpipe(dev, 0), 0xa0, 0x40, 0xe600, 0, buf, 1,
300) != 1) {
printk(KERN_ERR "isight firmware loading completion failed\n");
ret = -ENODEV;
Expand Down

0 comments on commit fa32b6a

Please sign in to comment.