mbox series

[0/2] usb: usbtmc: Fix read/get_stb and timeout in get_stb

Message ID 20250521121656.18174-1-dpenkler@gmail.com
Headers show
Series usb: usbtmc: Fix read/get_stb and timeout in get_stb | expand

Message

Dave Penkler May 21, 2025, 12:16 p.m. UTC
Patch 1: Fixes a regression introduced by a previous commit where the
         changed return value of usbtmc_get_stb caused
	 usbtmc488_ioctl_read_stb and the USBTMC_IOCTL_GET_STB ioctl to fail.

Patch 2: Fixes the units of the timeout value passed to
         wait_event_interruptible_timeout in usbtmc_get_stb.

Dave Penkler (2):
  usb: usbtmc: Fix read_stb function and get_stb ioctl
  usb: usbtmc: Fix timeout value in get_stb

 drivers/usb/class/usbtmc.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)