diff options
Diffstat (limited to 'drivers/usb/input')
-rw-r--r-- | drivers/usb/input/hid-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c index 719c0316cc39..1ab95d24c5e2 100644 --- a/drivers/usb/input/hid-core.c +++ b/drivers/usb/input/hid-core.c | |||
@@ -1688,7 +1688,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf) | |||
1688 | usb_fill_int_urb(hid->urbin, dev, pipe, hid->inbuf, 0, | 1688 | usb_fill_int_urb(hid->urbin, dev, pipe, hid->inbuf, 0, |
1689 | hid_irq_in, hid, interval); | 1689 | hid_irq_in, hid, interval); |
1690 | hid->urbin->transfer_dma = hid->inbuf_dma; | 1690 | hid->urbin->transfer_dma = hid->inbuf_dma; |
1691 | hid->urbin->transfer_flags |=(URB_NO_TRANSFER_DMA_MAP | URB_ASYNC_UNLINK); | 1691 | hid->urbin->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; |
1692 | } else { | 1692 | } else { |
1693 | if (hid->urbout) | 1693 | if (hid->urbout) |
1694 | continue; | 1694 | continue; |
@@ -1698,7 +1698,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf) | |||
1698 | usb_fill_int_urb(hid->urbout, dev, pipe, hid->outbuf, 0, | 1698 | usb_fill_int_urb(hid->urbout, dev, pipe, hid->outbuf, 0, |
1699 | hid_irq_out, hid, interval); | 1699 | hid_irq_out, hid, interval); |
1700 | hid->urbout->transfer_dma = hid->outbuf_dma; | 1700 | hid->urbout->transfer_dma = hid->outbuf_dma; |
1701 | hid->urbout->transfer_flags |= (URB_NO_TRANSFER_DMA_MAP | URB_ASYNC_UNLINK); | 1701 | hid->urbout->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; |
1702 | } | 1702 | } |
1703 | } | 1703 | } |
1704 | 1704 | ||
@@ -1750,7 +1750,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf) | |||
1750 | hid->ctrlbuf, 1, hid_ctrl, hid); | 1750 | hid->ctrlbuf, 1, hid_ctrl, hid); |
1751 | hid->urbctrl->setup_dma = hid->cr_dma; | 1751 | hid->urbctrl->setup_dma = hid->cr_dma; |
1752 | hid->urbctrl->transfer_dma = hid->ctrlbuf_dma; | 1752 | hid->urbctrl->transfer_dma = hid->ctrlbuf_dma; |
1753 | hid->urbctrl->transfer_flags |= (URB_NO_TRANSFER_DMA_MAP | URB_NO_SETUP_DMA_MAP | URB_ASYNC_UNLINK); | 1753 | hid->urbctrl->transfer_flags |= (URB_NO_TRANSFER_DMA_MAP | URB_NO_SETUP_DMA_MAP); |
1754 | 1754 | ||
1755 | return hid; | 1755 | return hid; |
1756 | 1756 | ||