]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
most: fix control-message timeouts
authorJohan Hovold <johan@kernel.org>
Mon, 25 Oct 2021 11:58:11 +0000 (13:58 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:13 +0000 (09:48 +0100)
commit5e57906977d7825ac2a181eeeeac46e2f4577d14
tree24e733aaae85b19141034318a45ee6d2aa5df741
parent20361d943696b1be7e5ca9683c4228307e3dbe16
most: fix control-message timeouts

BugLink: https://bugs.launchpad.net/bugs/1951822
commit 63b3e810eff65fb8587fcb26fa0b56802be12dcf upstream.

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

Use the common control-message timeout defines for the five-second
timeouts.

Fixes: 97a6f772f36b ("drivers: most: add USB adapter driver")
Cc: stable@vger.kernel.org # 5.9
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211025115811.5410-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/most/most_usb.c