Skip to content

Commit f82d357

Browse files
pelwellpopcornmix
authored andcommitted
ARM: pl011: Add rs485 to the RP1 support
pl011_axi_probe, added for RP1 support, lacks the rs485 additions that appeared during its development. Signed-off-by: Phil Elwell <[email protected]>
1 parent f18ccfa commit f82d357

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/tty/serial/amba-pl011.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3033,6 +3033,8 @@ static int pl011_axi_probe(struct platform_device *pdev)
30333033
uap->port.iotype = vendor->access_32b ? UPIO_MEM32 : UPIO_MEM;
30343034
uap->port.irq = irq;
30353035
uap->port.ops = &amba_pl011_pops;
3036+
uap->port.rs485_config = pl011_rs485_config;
3037+
uap->port.rs485_supported = pl011_rs485_supported;
30363038

30373039
snprintf(uap->type, sizeof(uap->type), "PL011 AXI");
30383040

0 commit comments

Comments
 (0)