aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/serial-u16550.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-12-18 07:13:47 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:41 -0500
commit561de31a23a8a5d23baeb8b2ce7c6102cb649616 (patch)
tree1a5ebe319ea7ca10e0068f2a8f97b3e3dfde2177 /sound/drivers/serial-u16550.c
parentf488d9fcc84692ca0060b4e16c1c61a8d514cea8 (diff)
[ALSA] sound/: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/drivers/serial-u16550.c')
-rw-r--r--sound/drivers/serial-u16550.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c
index 65de3a755ddb..3958dbd626b2 100644
--- a/sound/drivers/serial-u16550.c
+++ b/sound/drivers/serial-u16550.c
@@ -455,7 +455,7 @@ static void snd_uart16550_do_open(struct snd_uart16550 * uart)
455 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */ 455 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */
456 ; 456 ;
457 } 457 }
458 outb(byte, uart->base + UART_IER); /* Interupt enable Register */ 458 outb(byte, uart->base + UART_IER); /* Interrupt enable Register */
459 459
460 inb(uart->base + UART_LSR); /* Clear any pre-existing overrun indication */ 460 inb(uart->base + UART_LSR); /* Clear any pre-existing overrun indication */
461 inb(uart->base + UART_IIR); /* Clear any pre-existing transmit interrupt */ 461 inb(uart->base + UART_IIR); /* Clear any pre-existing transmit interrupt */
@@ -473,7 +473,7 @@ static void snd_uart16550_do_close(struct snd_uart16550 * uart)
473 473
474 outb((0 & UART_IER_RDI) /* Disable Receiver data interrupt */ 474 outb((0 & UART_IER_RDI) /* Disable Receiver data interrupt */
475 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */ 475 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */
476 ,uart->base + UART_IER); /* Interupt enable Register */ 476 ,uart->base + UART_IER); /* Interrupt enable Register */
477 477
478 switch (uart->adaptor) { 478 switch (uart->adaptor) {
479 default: 479 default:
@@ -653,7 +653,7 @@ static void snd_uart16550_output_write(struct snd_rawmidi_substream *substream)
653 char first; 653 char first;
654 static unsigned long lasttime = 0; 654 static unsigned long lasttime = 0;
655 655
656 /* Interupts are disabled during the updating of the tx_buff, 656 /* Interrupts are disabled during the updating of the tx_buff,
657 * since it is 'bad' to have two processes updating the same 657 * since it is 'bad' to have two processes updating the same
658 * variables (ie buff_in & buff_out) 658 * variables (ie buff_in & buff_out)
659 */ 659 */