Re: ftdi_sio serial adapter data toggle problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[quoted lines by Greg KH on 2010/08/25 at 15:42 -0700]

>Ok, care to make up a patch for this problem then?

The user has confirmed that the attached patch (ftdi_sio.patch) works.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/
--- old/ftdi_sio.c	2010-08-25 18:53:27.552277157 -0400
+++ new/ftdi_sio.c	2010-08-25 18:54:00.596026736 -0400
@@ -2016,9 +2016,6 @@
 			dev_err(&port->dev,
 				"urb failed to set to rts/cts flow control\n");
 		}
-
-		/* raise DTR/RTS */
-		set_mctrl(port, TIOCM_DTR | TIOCM_RTS);
 	} else {
 		/*
 		 * Xon/Xoff code
@@ -2065,9 +2062,6 @@
 					"urb failed to clear flow control\n");
 			}
 		}
-
-		/* lower DTR/RTS */
-		clear_mctrl(port, TIOCM_DTR | TIOCM_RTS);
 	}
 	return;
 }

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux