Thread (80 messages) 80 messages, 6 authors, 2019-11-20

Re: [PATCH v4 32/47] serial: ucc_uart: use of_property_read_u32() in ucc_uart_probe()

From: Timur Tabi <timur@kernel.org>
Date: 2019-11-14 13:57:52
Also in: linux-serial, linuxppc-dev, lkml

On Fri, Nov 8, 2019 at 7:03 AM Rasmus Villemoes
[off-list ref] wrote:
-       if (*iprop)
-               qe_port->port.uartclk = *iprop;
+       if (val)
+               qe_port->port.uartclk = val;
        else {
                /*
                 * Older versions of U-Boot do not initialize the brg-frequency
                 * property, so in this case we assume the BRG frequency is
                 * half the QE bus frequency.
                 */
This bug in older U-Boots is definitely PowerPC-specific, so could you
change this so that it reports an error on ARM if brg-frequency is
zero, and displays a warning on PowerPC?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help