Merge branch 'bugfix/crypto_gdma_v4.3' into 'release/v4.3'

aes/sha: fixed driver reseting the wrong GDMA channel (v4.3)

See merge request espressif/esp-idf!15002
This commit is contained in:
Marius Vikhammer 2021-09-08 08:58:24 +00:00
commit 0f7dd04a83

View File

@ -141,7 +141,7 @@ esp_err_t esp_crypto_shared_gdma_start(const lldesc_t *input, const lldesc_t *ou
}
/* tx channel is reset by gdma_connect(), also reset rx to ensure a known state */
gdma_get_channel_id(tx_channel, &rx_ch_id);
gdma_get_channel_id(rx_channel, &rx_ch_id);
gdma_ll_rx_reset_channel(&GDMA, rx_ch_id);
gdma_start(tx_channel, (intptr_t)input);