Skip to content

Commit

Permalink
core: interrupt: clarify inline comment in interrupt_create_handler()
Browse files Browse the repository at this point in the history
Clarify inline comment in interrupt_create_handler() to explicit that
this function request add_configure_handler() to not configure the
interrupt (since it's already configured from interrupt_dt_get_by_*()
API functions).

Signed-off-by: Etienne Carriere <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
  • Loading branch information
etienne-lms committed Feb 14, 2025
1 parent eee74b8 commit 180a0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kernel/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ TEE_Result interrupt_create_handler(struct itr_chip *itr_chip, size_t itr_num,
.data = priv,
};

res = add_configure_handler(itr_hdl, 0, 0, false /* configure */);
res = add_configure_handler(itr_hdl, 0, 0, false /* !configure */);
if (res) {
free(itr_hdl);
return res;
Expand Down

0 comments on commit 180a0bf

Please sign in to comment.