More updates in the C_CAN support, but locking not reworked still.
[lincan.git] / lincan / src / i82527.c
index d5c7b24..60096c5 100644 (file)
@@ -616,6 +616,8 @@ void i82527_irq_sync_activities(struct canchip_t *chip, struct msgobj_t *obj)
                        }
                }
 
+               mb();
+
                can_msgobj_clear_fl(obj,TX_LOCK);
                if(can_msgobj_test_fl(obj,TX_REQUEST))
                        continue;