summaryrefslogtreecommitdiff
path: root/chip/mec1322/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mec1322/i2c.c')
-rw-r--r--chip/mec1322/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mec1322/i2c.c b/chip/mec1322/i2c.c
index 2c22256d81..8c59be9a38 100644
--- a/chip/mec1322/i2c.c
+++ b/chip/mec1322/i2c.c
@@ -120,7 +120,7 @@ static void configure_controller(int controller, int kbps)
/* Enable interrupt */
MEC1322_I2C_CONFIG(controller) |= BIT(29); /* ENIDI */
- MEC1322_INT_ENABLE(12) |= (1 << controller);
+ MEC1322_INT_ENABLE(12) |= BIT(controller);
MEC1322_INT_BLK_EN |= BIT(12);
}