staging "speakup" Fix typos.
authorJustin P. Mattock <justinmattock@gmail.com>
Mon, 9 Jul 2012 14:30:27 +0000 (07:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 20:06:21 +0000 (13:06 -0700)
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/i18n.c
drivers/staging/speakup/speakup_acnt.h
drivers/staging/speakup/speakup_decpc.c
drivers/staging/speakup/synth.c

index c2119433f33329bd3d7960d2640b79adac2a6017..ca01734d13c5f85e7f52ca38aead5ab97ea146fa 100644 (file)
@@ -71,7 +71,7 @@ static char *speakup_default_msgs[MSG_LAST_INDEX] = {
        [MSG_CTL_SHIFT] = "shift",
        [MSG_CTL_ALTGR] = "altgr",
        [MSG_CTL_CONTROL] = "control",
-       [MSG_CTL_ALT] = "ault",
+       [MSG_CTL_ALT] = "alt",
        [MSG_CTL_LSHIFT] = "l shift",
        [MSG_CTL_SPEAKUP] = "speakup",
        [MSG_CTL_LCONTROL] = "l control",
index 2d883654ffcc42f675ba826af18dee41a44f0dab..6376fca9e0e1654e10c01ab69f1f60efc54d247f 100644 (file)
@@ -12,5 +12,5 @@
                                   to accept a byte of data. */
 #define SYNTH_QUIET    'S' /* synth is not speaking */
 #define SYNTH_FULL     'F' /* synth is full. */
-#define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */
+#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
 #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
index de25527decf6186d8664aace3d5eec2f99e7670c..a09a0c9975dfabac75081f59f4a8beb456d0a791 100644 (file)
@@ -66,7 +66,7 @@
 #define        CMD_null                0x0000  /* post status */
 #define        CMD_control             0x1000  /* hard control command */
 #define        CTRL_mask               0x0F00  /*   mask off control nibble */
-#define        CTRL_data               0x00FF  /*   madk to get data byte */
+#define        CTRL_data               0x00FF  /*   mask to get data byte */
 #define        CTRL_null               0x0000  /*   null control */
 #define        CTRL_vol_up             0x0100  /*   increase volume */
 #define        CTRL_vol_down           0x0200  /*   decrease volume */
index 331eae7887008338446be4de9c0aea139fccd261..df9533798095cd7b2e2b08a1799f206c5091e07c 100644 (file)
@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(serial_synth_probe);
 /* Main loop of the progression thread: keep eating from the buffer
  * and push to the serial port, waiting as needed
  *
- * For devices that have a "full" notification mecanism, the driver can
+ * For devices that have a "full" notification mechanism, the driver can
  * adapt the loop the way they prefer.
  */
 void spk_do_catch_up(struct spk_synth *synth)