[PATCH 10/15] mci core: fix mixup of max write/read block len

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 9 06:53:53 EST 2012


The argmument order in this pr_debug does not match
the string printed. Fix this.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mci/mci-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index e0e70dd..1c0e4e7 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -753,7 +753,7 @@ static void mci_extract_block_lengths_from_csd(struct device_d *mci_dev)
 		mci->write_bl_len = 1 << ((mci->csd[3] >> 22) & 0xf);
 
 	pr_debug("Max. block length are: Write=%u, Read=%u Bytes\n",
-		mci->read_bl_len, mci->write_bl_len);
+		mci->write_bl_len, mci->read_bl_len);
 }
 
 /**
-- 
1.7.9




More information about the barebox mailing list