diff options
author | Dave Penkler <dpenkler@gmail.com> | 2025-05-21 15:16:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-10 14:17:10 +0300 |
commit | 88953d793922e555480706e109b970e68aaf7c8c (patch) | |
tree | 447f14d526da2b9c76eb0e4ca0eb4975008ed714 /scripts/gdb/linux/xarray.py | |
parent | 93612604f4b59e96a3f070435f12b8fd3f9274bf (diff) | |
download | linux-88953d793922e555480706e109b970e68aaf7c8c.tar.xz |
usb: usbtmc: Fix timeout value in get_stb
commit 342e4955a1f1ce28c70a589999b76365082dbf10 upstream.
wait_event_interruptible_timeout requires a timeout argument
in units of jiffies. It was being called in usbtmc_get_stb
with the usb timeout value which is in units of milliseconds.
Pass the timeout argument converted to jiffies.
Fixes: 048c6d88a021 ("usb: usbtmc: Add ioctls to set/get usb timeout")
Cc: stable@vger.kernel.org
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250521121656.18174-4-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions