Skip to content

Commit dd5ae68

Browse files
committed
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"
2 parents 4ee8019 + f235f66 commit dd5ae68

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

drivers/tty/serial/8250/8250_dma.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ int serial8250_tx_dma(struct uart_8250_port *p)
8080
return 0;
8181

8282
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-
}
8783

8884
desc = dmaengine_prep_slave_single(dma->txchan,
8985
dma->tx_addr + xmit->tail,

drivers/video/console/fbcon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ static void fbcon_init(struct vc_data *vc, int init)
10931093
con_copy_unimap(vc, svc);
10941094

10951095
ops = info->fbcon_par;
1096+
ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms);
10961097
p->con_rotate = initial_rotation;
10971098
set_blitting_type(vc, info);
10981099

0 commit comments

Comments
 (0)