e21dd68755
When CONFIG_MMCSD_MULTIBLOCK_DISABLE is lit, all SD read/write failed. The function return the number of blocks in `ret`, set on entry to nsectors. That was then wiped out by using the ret for the mmcsd_takesem. Since the code had many path setting return, the choices for the fix could have been add a new varaible or simple init it were used. I choose the latter. |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
mmcsd_csd.h | ||
mmcsd_debug.c | ||
mmcsd_sdio.c | ||
mmcsd_sdio.h | ||
mmcsd_spi.c | ||
mmcsd_spi.h | ||
mmcsd.h |