fix(hal/crypto): Do not reset parent crypto clk when resetting a crypto peripheral

This commit is contained in:
harshal.patil
2024-03-05 15:06:39 +05:30
parent c8651c1041
commit 2b6f12ba51
7 changed files with 8 additions and 20 deletions

View File

@@ -46,8 +46,6 @@ static inline void ds_ll_reset_register(void)
{
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_ds = 1;
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_ds = 0;
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_crypto = 1;
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_crypto = 0;
}
/// use a macro to wrap the function, force the caller to use it in a critical section