diff options
author | Johan Hovold <johan@kernel.org> | 2021-01-04 15:50:07 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-01-04 16:30:09 +0100 |
commit | 54d0a3ab80f49f19ee916def62fe067596833403 (patch) | |
tree | a6f7c513df2778bd4535285227a594b96bc28c46 /drivers/usb/gadget/udc/fsl_mxc_udc.c | |
parent | 0e2d6795e8dbe91c2f5473564c6b25d11df3778b (diff) |
USB: serial: iuu_phoenix: fix DMA from stack
Stack-allocated buffers cannot be used for DMA (on all architectures) so
allocate the flush command buffer using kmalloc().
Fixes: 60a8fc017103 ("USB: add iuu_phoenix driver")
Cc: stable <stable@vger.kernel.org> # 2.6.25
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/udc/fsl_mxc_udc.c')
0 files changed, 0 insertions, 0 deletions