[PATCH 3/3] mci: atmel_mci: mark atmci_setup_data very verbose debug print

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Feb 13 02:01:46 PST 2024


setup_data is called prior to every transfer and will print the number
of blocks and the block size. With CONFIG_DEBUG_PBL it will be enabled,
but doesn't really add much information. Lower it to verbose debug level
instead.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/mci/atmel_mci_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mci/atmel_mci_common.c b/drivers/mci/atmel_mci_common.c
index 68110c04b096..098e90503a3a 100644
--- a/drivers/mci/atmel_mci_common.c
+++ b/drivers/mci/atmel_mci_common.c
@@ -220,7 +220,7 @@ static void atmci_setup_data(struct atmel_mci *host, struct mci_data *data)
 
 	host->data = data;
 
-	dev_dbg(host->hw_dev, "atmel_setup_data: nob=%d blksz=%d\n",
+	dev_vdbg(host->hw_dev, "atmel_setup_data: nob=%d blksz=%d\n",
 		nob, blksz);
 
 	atmci_writel(host, ATMCI_BLKR, ATMCI_BCNT(nob)
-- 
2.39.2




More information about the barebox mailing list