summaryrefslogtreecommitdiff
path: root/baseboard/hatch/baseboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/hatch/baseboard.c')
-rw-r--r--baseboard/hatch/baseboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c
index 367f83e8d2..97fd870242 100644
--- a/baseboard/hatch/baseboard.c
+++ b/baseboard/hatch/baseboard.c
@@ -343,9 +343,9 @@ void baseboard_mst_enable_control(enum mst_source src, int level)
static uint32_t mst_input_levels;
if (level)
- deprecated_atomic_or(&mst_input_levels, 1 << src);
+ atomic_or(&mst_input_levels, 1 << src);
else
- deprecated_atomic_clear_bits(&mst_input_levels, 1 << src);
+ atomic_clear_bits(&mst_input_levels, 1 << src);
gpio_set_level(GPIO_EN_MST, mst_input_levels ? 1 : 0);
}