usb: usbtmc: Fix suspend/resume
authorGuido Kiener <guido@kiener-muenchen.de>
Wed, 12 Sep 2018 08:50:57 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 11:04:02 +0000 (13:04 +0200)
commitb19bbdc5f45171295defbfa2a1846a2776b942bc
tree004a9f9473bd605858178caeada486b19f9737be
parent987b81998b41563113f714009e7e748e1211026d
usb: usbtmc: Fix suspend/resume

Submitted urbs are not allowed when system is suspended.
Thus the submitted urb waiting at interrupt pipe is killed
during suspend callback and submitted again when system resumes.

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