[PATCH] mmc: cv1800b_sdhci: Remove the unused argument
Jaehoon Chung
jh80.chung at samsung.com
Mon Apr 15 10:01:19 CEST 2024
Hi,
> -----Original Message-----
> From: Jaehoon Chung <jh80.chung at samsung.com>
> Sent: Monday, April 15, 2024 4:57 PM
> To: u-boot at lists.denx.de
> Cc: trini at konsulko.com; ycliang at andestech.com; Jaehoon Chung <jh80.chung at samsung.com>
> Subject: [PATCH] mmc: cv1800b_sdhci: Remove the unused argument
>
> 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>
This patch is based on u-boot-mmc/master.
Best Regards,
Jaehoon Chung
>
> ---
> 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