diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-12 14:56:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 09:19:06 +0200 |
commit | b84e0c4cbc29f0e6df97b3644d0bdb5b5db1ad0d (patch) | |
tree | 285dee17076383838f625460c484953f9a9e83c5 /drivers/usb/serial/iuu_phoenix.c | |
parent | ba5886243eec44f6d9453b08cf8a749c4299a2dd (diff) | |
download | linux-rt-b84e0c4cbc29f0e6df97b3644d0bdb5b5db1ad0d.tar.gz |
USB: serial: io_edgeport: fix epic-descriptor handling
commit e4457d9798adb96272468e93da663de9bd0a4198 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/iuu_phoenix.c')
0 files changed, 0 insertions, 0 deletions