From: Fabio Estevam Date: Thu, 28 Sep 2023 14:58:42 +0000 (-0300) Subject: serial: amba-pl011: Do not complain when DMA is absent X-Git-Tag: v6.7-rc1~75^2~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6905ab83b7b429bfe856536982ae00c1f594ba1f;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20230928145842.466933-1-festevam@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 41eabad4c94bf..61cc24cd90e4b 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -421,7 +421,7 @@ static void pl011_dma_probe(struct uart_amba_port *uap) /* We need platform data */ if (!plat || !plat->dma_filter) { - dev_info(uap->port.dev, "no DMA platform data\n"); + dev_dbg(uap->port.dev, "no DMA platform data\n"); return; }