mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
USB: serial: fix infinite wait_until_sent timeout
commitf528bf4f57upstream. Make sure to handle an infinite timeout (0). Note that wait_until_sent is currently never called with a 0-timeout argument due to a bug in tty_wait_until_sent. Fixes:dcf0105039("USB: serial: add generic wait_until_sent implementation") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
parent
d6bc66d775
commit
ec02f95f55
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue