aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/isicom.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-14 18:23:32 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-14 18:23:32 -0500
commit37da7bbbe84fe9e8862940d3f9194fd27dce59bb (patch)
tree6c3fae910b4cfd4e2f9a1fdc035400cd4df78be3 /drivers/tty/isicom.c
parente7cf773d431a63a2417902696fcc9e0ebdc83bbe (diff)
parentdd63af108f0814f0b589659f4e55a7a5af3b7e53 (diff)
Merge tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial driver updates from Greg KH: "Here's the big tty/serial driver update for 3.19-rc1. There are a number of TTY core changes/fixes in here from Peter Hurley that have all been teted in linux-next for a long time now. There are also the normal serial driver updates as well, full details in the changelog below" * tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (219 commits) serial: pxa: hold port.lock when reporting modem line changes tty-hvsi_lib: Deletion of an unnecessary check before the function call "tty_kref_put" tty: Deletion of unnecessary checks before two function calls n_tty: Fix read_buf race condition, increment read_head after pushing data serial: of-serial: add PM suspend/resume support Revert "serial: of-serial: add PM suspend/resume support" Revert "serial: of-serial: fix up PM ops on no_console_suspend and port type" serial: 8250: don't attempt a trylock if in sysrq serial: core: Add big-endian iotype serial: samsung: use port->fifosize instead of hardcoded values serial: samsung: prefer to use fifosize from driver data serial: samsung: fix style problems serial: samsung: wait for transfer completion before clock disable serial: icom: fix error return code serial: tegra: clean up tty-flag assignments serial: Fix io address assign flow with Fintek PCI-to-UART Product serial: mxs-auart: fix tx_empty against shift register serial: mxs-auart: fix gpio change detection on interrupt serial: mxs-auart: Fix mxs_auart_set_ldisc() serial: 8250_dw: Use 64-bit access for OCTEON. ...
Diffstat (limited to 'drivers/tty/isicom.c')
-rw-r--r--drivers/tty/isicom.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c
index 858291ca889c..59ed783c4bcd 100644
--- a/drivers/tty/isicom.c
+++ b/drivers/tty/isicom.c
@@ -249,7 +249,7 @@ static int lock_card(struct isi_board *card)
249 spin_unlock_irqrestore(&card->card_lock, card->flags); 249 spin_unlock_irqrestore(&card->card_lock, card->flags);
250 msleep(10); 250 msleep(10);
251 } 251 }
252 pr_warning("Failed to lock Card (0x%lx)\n", card->base); 252 pr_warn("Failed to lock Card (0x%lx)\n", card->base);
253 253
254 return 0; /* Failed to acquire the card! */ 254 return 0; /* Failed to acquire the card! */
255} 255}
@@ -378,13 +378,13 @@ static inline int __isicom_paranoia_check(struct isi_port const *port,
378 char *name, const char *routine) 378 char *name, const char *routine)
379{ 379{
380 if (!port) { 380 if (!port) {
381 pr_warning("Warning: bad isicom magic for dev %s in %s.\n", 381 pr_warn("Warning: bad isicom magic for dev %s in %s\n",
382 name, routine); 382 name, routine);
383 return 1; 383 return 1;
384 } 384 }
385 if (port->magic != ISICOM_MAGIC) { 385 if (port->magic != ISICOM_MAGIC) {
386 pr_warning("Warning: NULL isicom port for dev %s in %s.\n", 386 pr_warn("Warning: NULL isicom port for dev %s in %s\n",
387 name, routine); 387 name, routine);
388 return 1; 388 return 1;
389 } 389 }
390 390
@@ -546,8 +546,8 @@ static irqreturn_t isicom_interrupt(int irq, void *dev_id)
546 byte_count = header & 0xff; 546 byte_count = header & 0xff;
547 547
548 if (channel + 1 > card->port_count) { 548 if (channel + 1 > card->port_count) {
549 pr_warning("%s(0x%lx): %d(channel) > port_count.\n", 549 pr_warn("%s(0x%lx): %d(channel) > port_count\n",
550 __func__, base, channel+1); 550 __func__, base, channel + 1);
551 outw(0x0000, base+0x04); /* enable interrupts */ 551 outw(0x0000, base+0x04); /* enable interrupts */
552 spin_unlock(&card->card_lock); 552 spin_unlock(&card->card_lock);
553 return IRQ_HANDLED; 553 return IRQ_HANDLED;