]> git.baikalelectronics.ru Git - kernel.git/commit
Input: appletouch - fix DMA to/from stack buffer
authorBob Copeland <me@bobcopeland.com>
Tue, 28 Apr 2009 14:49:53 +0000 (07:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Apr 2009 16:34:13 +0000 (09:34 -0700)
commite9e27f2f1c379b24d364e631c738b4ae25880371
tree501c065abff9f3c262152de507cfc76a8e07258e
parent11460738bb6e7574ad39f10e8d278c147e332ce3
Input: appletouch - fix DMA to/from stack buffer

CONFIG_DMA_API_DEBUG spotted an instance of appletouch using
an array on the stack as a DMA buffer for certain hardware.
Change it to use a kmalloc()ed buffer instead.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/appletouch.c