mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
USB: serial: ftdi_sio: fix setting latency for unprivileged users
commitbb246681b3upstream. Commit557aaa7ffa("ft232: support the ASYNC_LOW_LATENCY flag") enables unprivileged users to set the FTDI latency timer, but there was a logic flaw that skipped sending the corresponding USB control message to the device. Specifically, the device latency timer would not be updated until next open, something which was later also inadvertently broken by commitc19db4c9e4("USB: ftdi_sio: set device latency timeout at port probe"). A recent commitc6dce26266("USB: serial: ftdi_sio: fix extreme low-latency setting") disabled the low-latency mode by default so we now need this fix to allow unprivileged users to again enable it. Signed-off-by: Anthony Mallet <anthony.mallet@laas.fr> [johan: amend commit message] Fixes:557aaa7ffa("ft232: support the ASYNC_LOW_LATENCY flag") Fixes:c19db4c9e4("USB: ftdi_sio: set device latency timeout at port probe"). Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ea2f891fa
commit
038ccaa5d5
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue