usb: usbtmc: Replace USBTMC_TIMEOUT macros for control messages
authorGuido Kiener <guido@kiener-muenchen.de>
Wed, 12 Sep 2018 08:51:06 +0000 (10:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 11:04:02 +0000 (13:04 +0200)
commit63c97bbad5ae5ef411b9a6f2dccdd11e23f29f89
treeeffa1d207c0a7fa293f0bb49c2df26487e024fe5
parent0e59088e7ff7aeda49dedadbf0e967761b909ad8
usb: usbtmc: Replace USBTMC_TIMEOUT macros for control messages

Use common timeout macro USB_CTRL_GET_TIMEOUT (=5s) for all
usb_control_msg() function calls.

The macro USBTMC_TIMEOUT should only be used as default value for
Bulk IN/OUT transfers.

Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com>
Reviewed-by: Steve Bayless <steve_bayless@keysight.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c