Skip to content

Commit

Permalink
Merge branch 'bugfix/sdio_intr_coex' into 'master'
Browse files Browse the repository at this point in the history
fix(sdmmc): don't disable SDIO interrupts when switching slots

See merge request espressif/esp-idf!32790
  • Loading branch information
igrr committed Aug 13, 2024
2 parents 6028332 + 8a9d307 commit 50244f4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/esp_driver_sdmmc/src/sdmmc_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,9 +814,6 @@ static void sdmmc_host_change_to_slot(int slot)
}
s_host_ctx.active_slot_num = slot;

// Clear interrupt status and set interrupt mask to known state
sdmmc_host_intmask_clear_disable();

// Apply the appropriate saved host settings for the new slot before starting the transaction
SDMMC_CLK_SRC_ATOMIC() {
sdmmc_ll_set_clock_div(s_host_ctx.hal.dev, s_host_ctx.slot_ctx[slot].slot_host_div);
Expand All @@ -828,9 +825,6 @@ static void sdmmc_host_change_to_slot(int slot)

// Wait for the clock to propagate
esp_rom_delay_us(10);

// Enable interrupts again
sdmmc_host_intmask_set_enable();
}
#endif // SOC_SDMMC_NUM_SLOTS >= 2

Expand Down

0 comments on commit 50244f4

Please # to comment.