Message ID | 20180718084602.10568-3-guido@kiener-muenchen.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index db58b84d43ee..243e8446b8dd 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c @@ -468,7 +468,7 @@ static int usbtmc488_ioctl_read_stb(struct usbtmc_file_data *file_data, if (rv == 0) { dev_dbg(dev, "wait timed out\n"); - rv = -ETIME; + rv = -ETIMEDOUT; goto exit; }