History

tty: serial: sh-sci: Fix Rx on RZ/G2L SCI

SCI IP on RZ/G2L alike SoCs do not need regshift compared to other SCI IPs on the SH platform. Currently, it does regshift and configuring Rx wrongly. Drop adding regshift for RZ/G2L alike SoCs.

Biju Das committed 3 years ago

Commit f92ed0c1 parent 178e00f1 file · +1 −1Browse files

Unified · Split

drivers/tty/serial/sh-sci.c+1−1
@@ -2937,7 +2937,7 @@ static int sci_init_single(struct platform_device *dev, · 2936 unmodified lines
29372937 port->flags = UPF_FIXED_PORT | UPF_BOOT_AUTOCONF | p->flags;
29382938 port->fifosize = sci_port->params->fifosize;
29392939
2940− if (port->type == PORT_SCI) {
2940+ if (port->type == PORT_SCI && !dev->dev.of_node) {
29412941 if (sci_port->reg_size >= 0x20)
29422942 port->regshift = 2;
29432943 else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t