[PATCH] mmc: cv1800b_sdhci: Remove the unused argument

Jaehoon Chung jh80.chung at samsung.com
Mon Apr 15 09:56:50 CEST 2024


Remove the unused argument about cmd_error.

Fixes: a3b2786651c7 ("mmc: Drop unused mmc_send_tuning() cmd_error parameter")

Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
1
---
 drivers/mmc/cv1800b_sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c
index 2275c5377723..9af6b9719844 100644
--- a/drivers/mmc/cv1800b_sdhci.c
+++ b/drivers/mmc/cv1800b_sdhci.c
@@ -42,7 +42,7 @@ static int cv1800b_execute_tuning(struct mmc *mmc, u8 opcode)
 	for (tap = 0; tap < TUNE_MAX_PHCODE; tap++) {
 		cv1800b_set_tap_delay(host, tap);
 
-		if (mmc_send_tuning(host->mmc, opcode, NULL)) {
+		if (mmc_send_tuning(host->mmc, opcode)) {
 			current_size = 0;
 		} else {
 			current_size++;
-- 
2.25.1



More information about the U-Boot mailing list