Commit 2149ec83 authored by Peng Fan's avatar Peng Fan Committed by Jassi Brar
Browse files

mailbox: Use guard/scoped_guard for spinlock



Use guard and scoped_guard for chan->lock and mbox->poll_hrt_lock to
simplify code.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent 16da9a65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment