Skip to content

Commit 643662d

Browse files
GallaisPoutinegregkh
authored andcommitted
serial: st-asc: fix typo in property name
Changes the property name read in the driver according to the YAML. According to device-tree documentation, property names should not include underscores. Signed-off-by: Raphael Gallais-Pou <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Message-ID: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 66eff0e commit 643662d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/st-asc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ static struct asc_port *asc_of_get_asc_port(struct platform_device *pdev)
754754

755755
asc_ports[id].hw_flow_control = of_property_read_bool(np,
756756
"uart-has-rtscts");
757-
asc_ports[id].force_m1 = of_property_read_bool(np, "st,force_m1");
757+
asc_ports[id].force_m1 = of_property_read_bool(np, "st,force-m1");
758758
asc_ports[id].port.line = id;
759759
asc_ports[id].rts = NULL;
760760

0 commit comments

Comments
 (0)