Re: [PATCH v3] hid: sony: Use kernel allocated buffers for HID reports

2014-11-19 Thread Jiri Kosina
On Thu, 13 Nov 2014, Dmitry Torokhov wrote: > On Wed, Nov 12, 2014 at 02:10:09PM -0500, Frank Praznik wrote: > > Replace stack buffers with kernel allocated buffers for sending > > and receiving HID reports to prevent issues with DMA transfers > > on certain hardware. > > > > Output report buffer

Re: [PATCH v3] hid: sony: Use kernel allocated buffers for HID reports

2014-11-13 Thread Dmitry Torokhov
On Wed, Nov 12, 2014 at 02:10:09PM -0500, Frank Praznik wrote: > Replace stack buffers with kernel allocated buffers for sending > and receiving HID reports to prevent issues with DMA transfers > on certain hardware. > > Output report buffers are allocated at initialization time to avoid > excessi

[PATCH v3] hid: sony: Use kernel allocated buffers for HID reports

2014-11-12 Thread Frank Praznik
Replace stack buffers with kernel allocated buffers for sending and receiving HID reports to prevent issues with DMA transfers on certain hardware. Output report buffers are allocated at initialization time to avoid excessive calls to kmalloc and kfree. Signed-off-by: Frank Praznik --- The ori