aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-12-17 14:40:18 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:57 -0500
commitdc0d5c1e5c7532e800fff6e313cd4af44af99976 (patch)
treedb693889e235934734ed1a83a1b14db6efed3f81 /drivers/usb/serial
parentd4a8d46d9129fbb26b4c2d3143b1b0975a9b4ae4 (diff)
USB: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/io_edgeport.c8
-rw-r--r--drivers/usb/serial/mos7840.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
index a5d2e115e167..3428ccc28da7 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 }
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index c29c91271133..869ecd374cb4 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -1133,7 +1133,7 @@ static int mos7840_chars_in_buffer(struct usb_serial_port *port)
1133 * This function will block the close until one of the following: 1133 * This function will block the close until one of the following:
1134 * 1. TX count are 0 1134 * 1. TX count are 0
1135 * 2. The mos7840 has stopped 1135 * 2. The mos7840 has stopped
1136 * 3. A timout of 3 seconds without activity has expired 1136 * 3. A timeout of 3 seconds without activity has expired
1137 * 1137 *
1138 ************************************************************************/ 1138 ************************************************************************/
1139static void mos7840_block_until_tx_empty(struct moschip_port *mos7840_port) 1139static void mos7840_block_until_tx_empty(struct moschip_port *mos7840_port)
@@ -1161,7 +1161,7 @@ static void mos7840_block_until_tx_empty(struct moschip_port *mos7840_port)
1161 dbg("%s - TIMEOUT", __FUNCTION__); 1161 dbg("%s - TIMEOUT", __FUNCTION__);
1162 return; 1162 return;
1163 } else { 1163 } else {
1164 /* Reset timout value back to seconds */ 1164 /* Reset timeout value back to seconds */
1165 wait = 30; 1165 wait = 30;
1166 } 1166 }
1167 } 1167 }
@@ -1275,7 +1275,7 @@ static void mos7840_close(struct usb_serial_port *port, struct file *filp)
1275 * 1275 *
1276 * This function will block the close until one of the following: 1276 * This function will block the close until one of the following:
1277 * 1. Response to our Chase comes from mos7840 1277 * 1. Response to our Chase comes from mos7840
1278 * 2. A timout of 10 seconds without activity has expired 1278 * 2. A timeout of 10 seconds without activity has expired
1279 * (1K of mos7840 data @ 2400 baud ==> 4 sec to empty) 1279 * (1K of mos7840 data @ 2400 baud ==> 4 sec to empty)
1280 * 1280 *
1281 ************************************************************************/ 1281 ************************************************************************/
@@ -1304,7 +1304,7 @@ static void mos7840_block_until_chase_response(struct moschip_port
1304 dbg("%s - TIMEOUT", __FUNCTION__); 1304 dbg("%s - TIMEOUT", __FUNCTION__);
1305 return; 1305 return;
1306 } else { 1306 } else {
1307 /* Reset timout value back to seconds */ 1307 /* Reset timeout value back to seconds */
1308 wait = 10; 1308 wait = 10;
1309 } 1309 }
1310 } 1310 }