lkml.org 
[lkml]   [2015]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers
On Mon, 09 Feb 2015 11:08:01 +0100
Oliver Neukum <oneukum@suse.de> wrote:

> > + ret = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x02),
> > + buf2, sizeof(buf2),
> > + &transfered, USB_CTRL_SET_TIMEOUT);
>
> You cannot do this. Even for a single byte DMA on the stack is
> wrong. Not on all architectures it works at all and you violate
> the DMA constrainsts. You must use kmalloc().

Hi Oliver,

Does this still apply when using hid_hw_output_report?

- Lauri


\
 
 \ /
  Last update: 2015-02-09 20:01    [W:0.085 / U:2.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site