Merge branch 'bugfix/crypto_gdma' into 'master'

aes/sha: fixed driver reseting the wrong GDMA channel

Closes FCS-701

See merge request espressif/esp-idf!14989
pull/7506/head
Michael (XIAO Xufeng) 2021-08-31 01:36:45 +00:00
commit f1cbf746b7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -128,7 +128,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);