Commit 5d1b6084 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

[PATCH] USB: ftdi_sio debug trace for TIOCMSET

Someone spotted that ftdi_sio outputs a debug trace for TIOCMGET,
but not for TIOCMSET, so this patch adds a debug trace for TIOCMSET
too.

Signed off by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 99e38b6e
...@@ -1997,6 +1997,7 @@ static int ftdi_tiocmset(struct usb_serial_port *port, struct file * file, unsig ...@@ -1997,6 +1997,7 @@ static int ftdi_tiocmset(struct usb_serial_port *port, struct file * file, unsig
{ {
int ret; int ret;
dbg("%s TIOCMSET", __FUNCTION__);
if (set & TIOCM_DTR){ if (set & TIOCM_DTR){
if ((ret = set_dtr(port, HIGH)) < 0) { if ((ret = set_dtr(port, HIGH)) < 0) {
err("Urb to set DTR failed"); err("Urb to set DTR failed");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment