sdmmc: the tCardInfo.initialized field needs to be an integer, not bool

Some drivers (Notably the PP SD driver) uses negative values to indicate
errors.

Change-Id: I9dbb065cbe90a62cde8a1d89bf6b450f40721790
This commit is contained in:
Solomon Peachy 2024-11-23 23:03:39 -05:00
parent f24bae5baf
commit 7df324b819

View file

@ -27,7 +27,7 @@
typedef struct
{
bool initialized;
int initialized; /* 0, 1, or negative for errors */
unsigned long read_timeout; /* n * 8 clock cycles */
unsigned long write_timeout; /* n * 8 clock cycles */