Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303612
b: refs/heads/master
c: 9cb757b
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 25, 2012
1 parent 360ffaf commit de8fe76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: 185a85518a6f0649c1d9ca959fa51c6b4dac292a
refs/heads/master: 9cb757bfac332cb43122c494597dce80e5424820
11 changes: 7 additions & 4 deletions trunk/drivers/input/joystick/xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,9 @@ static void xpad_irq_in(struct urb *urb)
exit:
retval = usb_submit_urb(urb, GFP_ATOMIC);
if (retval)
err ("%s - usb_submit_urb failed with result %d",
__func__, retval);
dev_err(&xpad->udev->dev,
"%s - usb_submit_urb failed with result %d\n",
__func__, retval);
}

static void xpad_bulk_out(struct urb *urb)
Expand All @@ -516,6 +517,7 @@ static void xpad_bulk_out(struct urb *urb)
#if defined(CONFIG_JOYSTICK_XPAD_FF) || defined(CONFIG_JOYSTICK_XPAD_LEDS)
static void xpad_irq_out(struct urb *urb)
{
struct usb_xpad *xpad = urb->context;
int retval, status;

status = urb->status;
Expand All @@ -540,8 +542,9 @@ static void xpad_irq_out(struct urb *urb)
exit:
retval = usb_submit_urb(urb, GFP_ATOMIC);
if (retval)
err("%s - usb_submit_urb failed with result %d",
__func__, retval);
dev_err(&xpad->udev->dev,
"%s - usb_submit_urb failed with result %d\n",
__func__, retval);
}

static int xpad_init_output(struct usb_interface *intf, struct usb_xpad *xpad)
Expand Down

0 comments on commit de8fe76

Please sign in to comment.