projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66db947
)
USB: serial: io_ti: fix a debug-message copy-paste error
author
Johan Hovold
<johan@kernel.org>
Mon, 18 Jan 2021 11:14:24 +0000
(12:14 +0100)
committer
Johan Hovold
<johan@kernel.org>
Mon, 18 Jan 2021 13:26:39 +0000
(14:26 +0100)
Fix a copy-paste error in the ti_vread_sync() debug message.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_ti.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/io_ti.c
b/drivers/usb/serial/io_ti.c
index
0c40626
..
0bbfa47
100644
(file)
--- a/
drivers/usb/serial/io_ti.c
+++ b/
drivers/usb/serial/io_ti.c
@@
-266,7
+266,7
@@
static int ti_vread_sync(struct usb_device *dev, __u8 request,
if (status < 0)
return status;
if (status != size) {
- dev_dbg(&dev->dev, "%s - wanted to
write %d, but only wrote
%d\n",
+ dev_dbg(&dev->dev, "%s - wanted to
read %d, but only read
%d\n",
__func__, size, status);
return -ECOMM;
}