Re: [PATCH] spi: spi-au1550: pr_err instead of printk

2021-01-25 Thread Mark Brown
On Sat, Jan 23, 2021 at 04:03:44AM +0100, corentin noel wrote:
> Signed-off-by: corentin noel 

This doesn't apply against current code, please check and resend.  It
should apply against my tree which already has your previous patches
including the one which 

>   if (!ddma_memid)
> - printk(KERN_ERR "au1550-spi: cannot add memory"
> - "dbdma device\n");
> + pr_err("au1550-spi: cannot add memory dbdma device\n");

merged this onto a single line.


signature.asc
Description: PGP signature


[PATCH] spi: spi-au1550: pr_err instead of printk

2021-01-22 Thread corentin noel
Signed-off-by: corentin noel 
---
 drivers/spi/spi-au1550.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c
index dfb7196f4caf..8f92bbdf391b 100644
--- a/drivers/spi/spi-au1550.c
+++ b/drivers/spi/spi-au1550.c
@@ -972,8 +972,7 @@ static int __init au1550_spi_init(void)
if (usedma) {
ddma_memid = au1xxx_ddma_add_device(_spi_mem_dbdev);
if (!ddma_memid)
-   printk(KERN_ERR "au1550-spi: cannot add memory"
-   "dbdma device\n");
+   pr_err("au1550-spi: cannot add memory dbdma device\n");
}
return platform_driver_register(_spi_drv);
 }
-- 
2.25.1