diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-23 18:52:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-23 18:52:09 -0400 |
commit | dd5ae6818ccd4ab0aa6f7d84e88f60a48af0fb52 (patch) | |
tree | e0e38ccea3b08ed4540320c54385c6bfa9370d8e | |
parent | 4ee8019d3fdc6cce14129a954632c0f81d456884 (diff) | |
parent | f235f664a8afabccf863a5dee4777d2d7b676fda (diff) |
Merge tag 'tty-4.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial fixes from Greg KH:
"Here are two fixes that resolve reported issues, one with the 8250
driver, and the other with the generic fbcon driver.
Both have been in linux-next for a while"
* tag 'tty-4.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
fbcon: initialize blink interval before calling fb_set_par
Revert "serial: 8250_dma: don't bother DMA with small transfers"
-rw-r--r-- | drivers/tty/serial/8250/8250_dma.c | 4 | ||||
-rw-r--r-- | drivers/video/console/fbcon.c | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/tty/serial/8250/8250_dma.c b/drivers/tty/serial/8250/8250_dma.c index 21d01a491405..e508939daea3 100644 --- a/drivers/tty/serial/8250/8250_dma.c +++ b/drivers/tty/serial/8250/8250_dma.c | |||
@@ -80,10 +80,6 @@ int serial8250_tx_dma(struct uart_8250_port *p) | |||
80 | return 0; | 80 | return 0; |
81 | 81 | ||
82 | dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); | 82 | dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); |
83 | if (dma->tx_size < p->port.fifosize) { | ||
84 | ret = -EINVAL; | ||
85 | goto err; | ||
86 | } | ||
87 | 83 | ||
88 | desc = dmaengine_prep_slave_single(dma->txchan, | 84 | desc = dmaengine_prep_slave_single(dma->txchan, |
89 | dma->tx_addr + xmit->tail, | 85 | dma->tx_addr + xmit->tail, |
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 1aaf89300621..92f394927f24 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -1093,6 +1093,7 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
1093 | con_copy_unimap(vc, svc); | 1093 | con_copy_unimap(vc, svc); |
1094 | 1094 | ||
1095 | ops = info->fbcon_par; | 1095 | ops = info->fbcon_par; |
1096 | ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms); | ||
1096 | p->con_rotate = initial_rotation; | 1097 | p->con_rotate = initial_rotation; |
1097 | set_blitting_type(vc, info); | 1098 | set_blitting_type(vc, info); |
1098 | 1099 | ||