summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/quark/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/i2c.c b/src/soc/intel/quark/i2c.c
index 6465b66040..6b1f6dd46c 100644
--- a/src/soc/intel/quark/i2c.c
+++ b/src/soc/intel/quark/i2c.c
@@ -101,7 +101,7 @@ int platform_i2c_transfer(unsigned bus, struct i2c_seg *segments, int count)
length = segments->len;
ASSERT (buffer != NULL);
ASSERT (length >= 1);
- ASSERT (segments->chip = chip);
+ ASSERT (segments->chip == chip);
if (segments->read) {
/* Place read commands into the FIFO */