Skip to content

[Portenta_SDCARD] Mutex is not released on deinit failure #665

Closed
@trik

Description

@trik
  int SDMMCBlockDevice::deinit()
  {
    lock();
    _sd_state = BSP_SD_DeInit ();
    if(_sd_state != MSD_OK) {
        debug_if (SD_DBG, "SD card deinitialization failed\n");
        return SD_BLOCK_DEVICE_ERROR;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions