commit | e4457d9798adb96272468e93da663de9bd0a4198 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Jan 12 14:56:13 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Jan 16 16:38:56 2017 +0100 |
tree | b49bbf405d2b92610f0ad74fd414aa5f7905e9e3 | |
parent | e3e574ad85a208cb179f33720bb5f12b453de33c [diff] |
USB: serial: io_edgeport: fix epic-descriptor handling Use a dedicated buffer for the DMA transfer and make sure to detect short transfers to avoid parsing a corrupt descriptor. Fixes: 6e8cf7751f9f ("USB: add EPIC support to the io_edgeport driver") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>