nuttx/drivers/mmcsd
David Sidrane d570a93945 mmcsd_sdio:Insure a error exiting via mmcsd_removed will not Hang system.
mmcsd_removed will be called if the card is in invalid state.
   This can happen if the card is bad, or vibrations causes a power
   loss.

   mmcsd_removed resets:
     priv->capacity     = 0; /* Capacity=0 sometimes means no media */
     priv->blocksize    = 0;
     priv->probed       = false;
     priv->mediachanged = false;
     priv->wrbusy       = false;
     priv->type         = MMCSD_CARDTYPE_UNKNOWN;
     priv->rca          = 0;
     priv->selblocklen  = 0;
     priv->widebus      = false;

  If blocksize is set to 0 will cause the log2 to result
  in an infinate loop in some drivers.

  IS_EMPTY will check for priv->type = MMCSD_CARDTYPE_UNKNOWN
  and return ENODEV.
2023-02-17 15:26:19 +08:00
..
Kconfig drivers/mmcsd: Fix kconfig error regarding MMCSD_IOCSUPPORT 2023-01-31 13:56:17 +01:00
Make.defs tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00
mmcsd_csd.h sdio: Update the defintion to the latest spec 2021-10-17 06:29:13 -03:00
mmcsd_debug.c drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd 2021-09-05 17:26:31 -03:00
mmcsd_sdio.c mmcsd_sdio:Insure a error exiting via mmcsd_removed will not Hang system. 2023-02-17 15:26:19 +08:00
mmcsd_sdio.h sdio: Update the defintion to the latest spec 2021-10-17 06:29:13 -03:00
mmcsd_spi.c mmcsd/mmcsd_spi: remove redundant mmcsd_unlock() 2023-02-03 16:34:04 +02:00
mmcsd_spi.h
mmcsd.h
sdio.c mmcsd/sdio: correct return value of sdio_probe() 2022-06-16 22:48:21 +08:00