]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Input: iforce - fix control-message timeout
authorJohan Hovold <johan@kernel.org>
Wed, 10 Nov 2021 06:58:01 +0000 (22:58 -0800)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:06 +0000 (09:48 +0100)
commitf9c626c974f50aaf63bc6845a7d5d635b2dc008f
tree22e6f8b7c62306a091987f5d97b165c220ee2fa5
parent5568c6e2640a695de0a0300481f24820935d9084
Input: iforce - fix control-message timeout

BugLink: https://bugs.launchpad.net/bugs/1951822
commit 744d0090a5f6dfa4c81b53402ccdf08313100429 upstream.

USB control-message timeouts are specified in milliseconds and should
specifically not vary with CONFIG_HZ.

Fixes: 487358627825 ("Input: iforce - use DMA-safe buffer when getting IDs from USB")
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org # 5.3
Link: https://lore.kernel.org/r/20211025115501.5190-1-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/input/joystick/iforce/iforce-usb.c