serial: amba-pl011: Do not complain when DMA is absent
authorFabio Estevam <festevam@denx.de>
Thu, 28 Sep 2023 14:58:42 +0000 (11:58 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2023 12:59:04 +0000 (14:59 +0200)
commit6905ab83b7b429bfe856536982ae00c1f594ba1f
tree6cb76dac24ce1669c506a93dfdea2fa6522aecbb
parentbb5ab77e8543f5c3601635bc2fc40b794add7143
serial: amba-pl011: Do not complain when DMA is absent

Many SoCs do not integrate DMA for the amba pl011 UART, causing
the following message on boot:

uart-pl011 80074000.serial: no DMA platform data

The UART still works in PIO, so better not to print such message that
may confuse people by causing them to think that there is something wrong
with the UART.

Change the message to debug level.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20230928145842.466933-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c