Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging "speakup" Fix typos.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Justin P. Mattock and committed by
Greg Kroah-Hartman
83414d52 4b733a1b

+4 -4
+1 -1
drivers/staging/speakup/i18n.c
··· 71 71 [MSG_CTL_SHIFT] = "shift", 72 72 [MSG_CTL_ALTGR] = "altgr", 73 73 [MSG_CTL_CONTROL] = "control", 74 - [MSG_CTL_ALT] = "ault", 74 + [MSG_CTL_ALT] = "alt", 75 75 [MSG_CTL_LSHIFT] = "l shift", 76 76 [MSG_CTL_SPEAKUP] = "speakup", 77 77 [MSG_CTL_LCONTROL] = "l control",
+1 -1
drivers/staging/speakup/speakup_acnt.h
··· 12 12 to accept a byte of data. */ 13 13 #define SYNTH_QUIET 'S' /* synth is not speaking */ 14 14 #define SYNTH_FULL 'F' /* synth is full. */ 15 - #define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */ 15 + #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */ 16 16 #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
+1 -1
drivers/staging/speakup/speakup_decpc.c
··· 66 66 #define CMD_null 0x0000 /* post status */ 67 67 #define CMD_control 0x1000 /* hard control command */ 68 68 #define CTRL_mask 0x0F00 /* mask off control nibble */ 69 - #define CTRL_data 0x00FF /* madk to get data byte */ 69 + #define CTRL_data 0x00FF /* mask to get data byte */ 70 70 #define CTRL_null 0x0000 /* null control */ 71 71 #define CTRL_vol_up 0x0100 /* increase volume */ 72 72 #define CTRL_vol_down 0x0200 /* decrease volume */
+1 -1
drivers/staging/speakup/synth.c
··· 64 64 /* Main loop of the progression thread: keep eating from the buffer 65 65 * and push to the serial port, waiting as needed 66 66 * 67 - * For devices that have a "full" notification mecanism, the driver can 67 + * For devices that have a "full" notification mechanism, the driver can 68 68 * adapt the loop the way they prefer. 69 69 */ 70 70 void spk_do_catch_up(struct spk_synth *synth)