diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-05 19:55:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-05 19:55:56 -0400 |
commit | a22e48cf317d22a4326dc19e906e6b5f4f92e94e (patch) | |
tree | e3573ec1f96c50e52efe8717d9a99f249c4a65cf /drivers/tty/serial/atmel_serial.c | |
parent | ec064d3c6b40697fd72f4b1eeabbf293b7947a04 (diff) | |
parent | 4b4ecd9cb853c14913a3726cfcc60ccda1d2924a (diff) |
Merge tag 'tty-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial updates from Greg KH:
"Here is the big tty/serial driver update for 4.18-rc1.
There's nothing major here, just lots of serial driver updates. Full
details are in the shortlog, nothing anything specific to call out
here.
All have been in linux-next for a while with no reported issues"
* tag 'tty-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (55 commits)
vt: Perform safe console erase only once
serial: imx: disable UCR4_OREN on shutdown
serial: imx: drop CTS/RTS handling from shutdown
tty: fix typo in ASYNCB_FOURPORT comment
serial: samsung: check DMA engine capabilities before using DMA mode
tty: Fix data race in tty_insert_flip_string_fixed_flag
tty: serial: msm_geni_serial: Fix TX infinite loop
serial: 8250_dw: Fix runtime PM handling
serial: 8250: omap: Fix idling of clocks for unused uarts
tty: serial: drop ATH79 specific SoC symbols
serial: 8250: Add missing rxtrig_bytes on Altera 16550 UART
serial/aspeed-vuart: fix a couple mod_timer() calls
serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version
serial: 8250_of: Add IO space support
tty/serial: atmel: use port->name as name in request_irq()
serial: imx: dma_unmap_sg buffers on shutdown
serial: imx: cleanup imx_uart_disable_dma()
tty: serial: qcom_geni_serial: Add early console support
tty: serial: qcom_geni_serial: Return IRQ_NONE for spurious interrupts
tty: serial: qcom_geni_serial: Use iowrite32_rep to write to FIFO
...
Diffstat (limited to 'drivers/tty/serial/atmel_serial.c')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index e287fe8f10fc..55b3eff148b1 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1757,7 +1757,6 @@ static int atmel_startup(struct uart_port *port) | |||
1757 | { | 1757 | { |
1758 | struct platform_device *pdev = to_platform_device(port->dev); | 1758 | struct platform_device *pdev = to_platform_device(port->dev); |
1759 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); | 1759 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); |
1760 | struct tty_struct *tty = port->state->port.tty; | ||
1761 | int retval; | 1760 | int retval; |
1762 | 1761 | ||
1763 | /* | 1762 | /* |
@@ -1772,8 +1771,8 @@ static int atmel_startup(struct uart_port *port) | |||
1772 | * Allocate the IRQ | 1771 | * Allocate the IRQ |
1773 | */ | 1772 | */ |
1774 | retval = request_irq(port->irq, atmel_interrupt, | 1773 | retval = request_irq(port->irq, atmel_interrupt, |
1775 | IRQF_SHARED | IRQF_COND_SUSPEND, | 1774 | IRQF_SHARED | IRQF_COND_SUSPEND, |
1776 | tty ? tty->name : "atmel_serial", port); | 1775 | dev_name(&pdev->dev), port); |
1777 | if (retval) { | 1776 | if (retval) { |
1778 | dev_err(port->dev, "atmel_startup - Can't get irq\n"); | 1777 | dev_err(port->dev, "atmel_startup - Can't get irq\n"); |
1779 | return retval; | 1778 | return retval; |