On 03-10-2026 02:59, Dave Klotz wrote:
When the probe fails, the driver releases its clock and reset bulks. clk_release_bulk() disables every clock and reset_release_bulk() asserts every reset, and the first entry of each is the SDH AXI bus clock and reset, which all three SDHCI controllers of the K1 share. One controller failing to probe therefore stops the bus of the others, and the next register access to any of them hangs the hart. On an OrangePi RV2, whose device tree enables the eMMC controller without a max-frequency, the eMMC probe failed in sdhci_setup_cfg() and U-Boot then hung at "MMC:" probing the microSD controller. Keep the clocks running and the resets deasserted on failure. Signed-off-by: Dave Klotz <[email protected]>
Reviewed-by: Tanmay Kathpalia <[email protected]>
