Commit 6bb003a3 authored by Johan Hovold's avatar Johan Hovold Committed by Lee Jones
Browse files

USB: serial: cypress_m8: fix interrupt-out transfer length



[ Upstream commit 56445eef ]

Fix interrupt-out transfer length which was being set to the
transfer-buffer length rather than the size of the outgoing packet.

Note that no slab data was leaked as the whole transfer buffer is always
cleared before each transfer.

Fixes: 9aa8dae7 ("cypress_m8: use usb_fill_int_urb where appropriate")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Change-Id: I2f7015cace1d707d7c6bff85bf60035eb0e5f6ff
parent 9e00c1d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment