Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227084
b: refs/heads/master
c: 6ff92a6
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Nov 12, 2010
1 parent 25c3f42 commit a1eb204
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 49cc69b6789b57d2d8ed78843c4219525b433b58
refs/heads/master: 6ff92a6db2083ecd1a8e2742d9397159fd880987
5 changes: 3 additions & 2 deletions trunk/drivers/input/joystick/xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ static void xpad_led_disconnect(struct usb_xpad *xpad)

if (xpad_led) {
led_classdev_unregister(&xpad_led->led_cdev);
kfree(xpad_led->name);
kfree(xpad_led);
}
}
#else
Expand Down Expand Up @@ -921,7 +921,7 @@ static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id
usb_set_intfdata(intf, xpad);

/*
* Submit the int URB immediatly rather than waiting for open
* Submit the int URB immediately rather than waiting for open
* because we get status messages from the device whether
* or not any controllers are attached. In fact, it's
* exactly the message that a controller has arrived that
Expand Down Expand Up @@ -1000,6 +1000,7 @@ static void xpad_disconnect(struct usb_interface *intf)
usb_free_urb(xpad->irq_in);
usb_free_coherent(xpad->udev, XPAD_PKT_LEN,
xpad->idata, xpad->idata_dma);
kfree(xpad->bdata);
kfree(xpad);
}
}
Expand Down

0 comments on commit a1eb204

Please sign in to comment.