aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/io_edgeport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/io_edgeport.c')
-rw-r--r--drivers/usb/serial/io_edgeport.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
index a5d2e115e16..3428ccc28da 100644
--- a/drivers/usb/serial/io_edgeport.c
+++ b/drivers/usb/serial/io_edgeport.c
@@ -959,7 +959,7 @@ static int edge_open (struct usb_serial_port *port, struct file * filp)
959 * 959 *
960 * This function will block the close until one of the following: 960 * This function will block the close until one of the following:
961 * 1. Response to our Chase comes from Edgeport 961 * 1. Response to our Chase comes from Edgeport
962 * 2. A timout of 10 seconds without activity has expired 962 * 2. A timeout of 10 seconds without activity has expired
963 * (1K of Edgeport data @ 2400 baud ==> 4 sec to empty) 963 * (1K of Edgeport data @ 2400 baud ==> 4 sec to empty)
964 * 964 *
965 ************************************************************************/ 965 ************************************************************************/
@@ -999,7 +999,7 @@ static void block_until_chase_response(struct edgeport_port *edge_port)
999 return; 999 return;
1000 } 1000 }
1001 } else { 1001 } else {
1002 // Reset timout value back to 10 seconds 1002 // Reset timeout value back to 10 seconds
1003 dbg("%s - Last %d, Current %d", __FUNCTION__, lastCredits, edge_port->txCredits); 1003 dbg("%s - Last %d, Current %d", __FUNCTION__, lastCredits, edge_port->txCredits);
1004 loop = 10; 1004 loop = 10;
1005 } 1005 }
@@ -1014,7 +1014,7 @@ static void block_until_chase_response(struct edgeport_port *edge_port)
1014 * This function will block the close until one of the following: 1014 * This function will block the close until one of the following:
1015 * 1. TX count are 0 1015 * 1. TX count are 0
1016 * 2. The edgeport has stopped 1016 * 2. The edgeport has stopped
1017 * 3. A timout of 3 seconds without activity has expired 1017 * 3. A timeout of 3 seconds without activity has expired
1018 * 1018 *
1019 ************************************************************************/ 1019 ************************************************************************/
1020static void block_until_tx_empty (struct edgeport_port *edge_port) 1020static void block_until_tx_empty (struct edgeport_port *edge_port)
@@ -1050,7 +1050,7 @@ static void block_until_tx_empty (struct edgeport_port *edge_port)
1050 return; 1050 return;
1051 } 1051 }
1052 } else { 1052 } else {
1053 // Reset timout value back to seconds 1053 // Reset timeout value back to seconds
1054 loop = 30; 1054 loop = 30;
1055 } 1055 }
1056 } 1056 }