]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: cv1800b_sdhci: Remove the unused argument
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 15 Apr 2024 07:56:50 +0000 (16:56 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 15 Apr 2024 08:58:59 +0000 (17:58 +0900)
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@samsung.com>
drivers/mmc/cv1800b_sdhci.c

index 2275c53777239cc709d30cd0ef76f979a797de36..9af6b971984483d29bfea863e91149cbb914d65f 100644 (file)
@@ -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++;