commit | ea0dbebffe118724cd4df7d9b071ea8ee48d48f0 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Thu Oct 25 10:29:11 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 25 09:36:59 2012 -0700 |
tree | d2006bfb341caf15c5716fb740c993a530f4947e | |
parent | 2f0295adf6438188c4cd0868f2b1976a2b034e1d [diff] |
USB: opticon: fix DMA from stack Make sure to allocate the control-message buffer dynamically as some platforms cannot do DMA from stack. Note that only the first byte of the old buffer was used. Cc: <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>