From: Alan Cox <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
drivers/usb/serial/visor.c | 8 --------
drivers/usb/serial/whiteheat.c | 9 ---------
2 files changed, 17 deletions(-)
diff -puN drivers/usb/serial/visor.c~visor-and-whiteheat-remove-bogus-termios-change-checks drivers/usb/serial/visor.c
--- a/drivers/usb/serial/visor.c~visor-and-whiteheat-remove-bogus-termios-change-checks
+++ a/drivers/usb/serial/visor.c
@@ -948,14 +948,6 @@ static void visor_set_termios (struct us
}
cflag = port->tty->termios->c_cflag;
- /* check that they really want us to change something */
- if (old_termios) {
- if ((cflag == old_termios->c_cflag) &&
- (RELEVANT_IFLAG(port->tty->termios->c_iflag) == RELEVANT_IFLAG(old_termios->c_iflag))) {
- dbg("%s - nothing to change...", __FUNCTION__);
- return;
- }
- }
/* get the byte size */
switch (cflag & CSIZE) {
diff -puN drivers/usb/serial/whiteheat.c~visor-and-whiteheat-remove-bogus-termios-change-checks drivers/usb/serial/whiteheat.c
--- a/drivers/usb/serial/whiteheat.c~visor-and-whiteheat-remove-bogus-termios-change-checks
+++ a/drivers/usb/serial/whiteheat.c
@@ -891,15 +891,6 @@ static void whiteheat_set_termios(struct
goto exit;
}
- /* check that they really want us to change something */
- if (old_termios) {
- if ((port->tty->termios->c_cflag == old_termios->c_cflag) &&
- (port->tty->termios->c_iflag == old_termios->c_iflag)) {
- dbg("%s - nothing to change...", __FUNCTION__);
- goto exit;
- }
- }
-
firm_setup_port(port);
exit:
_
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.