arjav1528 commented on code in PR #18543: URL: https://github.com/apache/nuttx/pull/18543#discussion_r2945551975
########## drivers/mmcsd/mmcsd_sdio.c: ########## @@ -606,6 +606,12 @@ static void mmcsd_decode_csd(FAR struct mmcsd_state_s *priv, uint32_t csd[4]) bool permwriteprotect; bool tmpwriteprotect; + /* Best-effort sanity check for misaligned or missing-CRC CSD; the + * lower-half is responsible for returning the correct 128-bit layout. + */ + + DEBUGASSERT(csd[0] != 0); Review Comment: my bad, I have removed the DEBUGASSERT and kept the PR on documenting the R@/CID/CSD expectations for SDIO lower halves -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
