esp32_spiflash.c: Correctly disable APP's CPU cache.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-09-17 16:34:44 +02:00 committed by Alan Carvalho de Assis
parent eaf50cd06b
commit 15b68b9abb

View File

@ -426,7 +426,7 @@ static inline void IRAM_ATTR
spi_disable_cache(state->cpu, &state->val[state->cpu]);
#ifdef CONFIG_SMP
spi_disable_cache(state->cpu, &state->val[other]);
spi_disable_cache(other, &state->val[other]);
#endif
}