Signed-off-by: Kuninori Morimoto <[email protected]>
---
 drivers/dma/amba-pl08x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index 38cdbca59485..bdabbc2ff7f8 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -2094,7 +2094,7 @@ static struct dma_async_tx_descriptor 
*pl08x_prep_dma_cyclic(
        dev_dbg(&pl08x->adev->dev,
                "%s prepare cyclic transaction of %zd/%zd bytes %s %s\n",
                __func__, period_len, buf_len,
-               direction == DMA_MEM_TO_DEV ? "to" : "from",
+               str_to_from(direction == DMA_MEM_TO_DEV),
                plchan->name);
 
        txd = pl08x_init_txd(chan, direction, &slave_addr);
-- 
2.43.0


Reply via email to