]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
serial: stm32: correct flow control property spelling
authorAlexandre TORGUE <alexandre.torgue@st.com>
Thu, 15 Sep 2016 16:42:37 +0000 (18:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:48:55 +0000 (11:48 +0200)
"st,hw-flow-ctrl" property is documented in device tree
binding whereas "auto-flow-control" was used in the code.
The driver is now aligned with the binding name
"st,hw-flow-ctrl".

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c

index 184b0183bb38af618f0d02cb084c37b4399e970c..ab294b927b673f23a508bf1400690b586ef5d7af 100644 (file)
@@ -508,7 +508,7 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev)
                return NULL;
 
        stm32_ports[id].hw_flow_control = of_property_read_bool(np,
-                                                       "auto-flow-control");
+                                                       "st,hw-flow-ctrl");
        stm32_ports[id].port.line = id;
        return &stm32_ports[id];
 }