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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c
index 790a164f54..367f83e8d2 100644
--- a/baseboard/hatch/baseboard.c
+++ b/baseboard/hatch/baseboard.c
@@ -345,7 +345,7 @@ void baseboard_mst_enable_control(enum mst_source src, int level)
if (level)
deprecated_atomic_or(&mst_input_levels, 1 << src);
else
- deprecated_atomic_clear(&mst_input_levels, 1 << src);
+ deprecated_atomic_clear_bits(&mst_input_levels, 1 << src);
gpio_set_level(GPIO_EN_MST, mst_input_levels ? 1 : 0);
}