Commit 233680a2 authored by Lee Jones's avatar Lee Jones Committed by Greg Kroah-Hartman

serial: st-asc: Use generic DT binding for announcing RTS/CTS lines

The initial binding 'st,hw-flow-control' isn't used anywhere, in neither
in upstream nor downstream kernels.  It isn't even documented in
dt-bindings, so we can safely assume it's safe to swap to the generic
one.
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7356256
...@@ -794,7 +794,7 @@ static struct asc_port *asc_of_get_asc_port(struct platform_device *pdev) ...@@ -794,7 +794,7 @@ static struct asc_port *asc_of_get_asc_port(struct platform_device *pdev)
return NULL; return NULL;
asc_ports[id].hw_flow_control = of_property_read_bool(np, asc_ports[id].hw_flow_control = of_property_read_bool(np,
"st,hw-flow-control"); "uart-has-rtscts");
asc_ports[id].force_m1 = of_property_read_bool(np, "st,force_m1"); asc_ports[id].force_m1 = of_property_read_bool(np, "st,force_m1");
asc_ports[id].port.line = id; asc_ports[id].port.line = id;
asc_ports[id].rts = NULL; asc_ports[id].rts = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment