commit | 79940cf8759558d55b597e27353f6521516aa7ac | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Tue Apr 07 11:27:10 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Tue Apr 07 14:32:42 2015 +0200 |
tree | 053e71e4e5f011acf41ef4c92a2eb1df5464a2da | |
parent | b7744b7f97d1c86d2a480fdc53a22a042ac4dda9 [diff] |
greybus: es1: fix DMA-buffer on stack A stack-allocated buffer is not generally DMA-able and must not be used for USB control transfers. Note that the memset and extra buffer byte were redundant as no more than the bytes actually transferred was ever added to the fifo. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>