aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/joystick/xpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 0c04a26b8122..067ed8d1f8a7 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -407,7 +407,7 @@ static int xpad_init_ff(struct usb_interface *intf, struct usb_xpad *xpad)
407 407
408 xpad->odata = usb_buffer_alloc(xpad->udev, XPAD_PKT_LEN, 408 xpad->odata = usb_buffer_alloc(xpad->udev, XPAD_PKT_LEN,
409 GFP_ATOMIC, &xpad->odata_dma ); 409 GFP_ATOMIC, &xpad->odata_dma );
410 if (!xpad->idata) 410 if (!xpad->odata)
411 goto fail1; 411 goto fail1;
412 412
413 xpad->irq_out = usb_alloc_urb(0, GFP_KERNEL); 413 xpad->irq_out = usb_alloc_urb(0, GFP_KERNEL);