[PATCH 2/6] mci: sdhci: rockchip: disable clock while setting DLL

Ahmad Fatoum a.fatoum at pengutronix.de
Thu May 7 01:10:23 PDT 2026


On 5/7/26 9:02 AM, Sascha Hauer wrote:
> sdhci_set_clock() enabled the clock. Linux explicitly disables the clock
> after that is called and before the DLL is configured. Do likewise in barebox.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>

> +enable_clock:
> +	sdhci_enable_clk(&host->sdhci, 0);
> +
> +	return;

Nit: Redundant return

>  }
>  
>  static void rk_sdhci_set_ios(struct mci_host *mci, struct mci_ios *ios)
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list