sdmmc_host: mark tCardInfo initialized at end of card init

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit a1b7e7b1345f3e3d1f9616581851b1b8807fab68
Author: Aidan MacDonald <[email protected]>
Date:   Mon Mar 2 10:37:49 2026 +0000

    sdmmc_host: mark tCardInfo initialized at end of card init
    
    This is needed to display card info in the debug menu.
    
    Change-Id: I2e45edd9a9e26834efac48cea892157588c546a7

diff --git a/firmware/drivers/sdmmc_host.c b/firmware/drivers/sdmmc_host.c
index ad21cfed32..4cb6fff919 100644
--- a/firmware/drivers/sdmmc_host.c
+++ b/firmware/drivers/sdmmc_host.c
@@ -639,6 +639,7 @@ static int sdmmc_host_device_init(struct sdmmc_host *host)
     }
 
     host->initialized = true;
+    host->cardinfo.initialized = true;
     return 0;
 }
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.