From 78f51349e047e66c4f6e5bbb5fac284b404bc331 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 11 Mar 2013 17:22:37 +0100 Subject: [PATCH] Added comment for future FIXME --- drivers/i2c.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/i2c.c b/drivers/i2c.c index 98885c6..5e0f456 100644 --- a/drivers/i2c.c +++ b/drivers/i2c.c @@ -493,8 +493,10 @@ void i2c_off(void) /* Allow system to propagate main clock */ void i2c_clock_update(void) { - if (mod_i2c.clock) + if (mod_i2c.clock) { + /* FIXME : we should stop I2C transfers, disable I2C interrupts and stop I1C clock. */ i2c_clock_on(mod_i2c.clock); /* 6 is not a module num, nor system i2c (5) */ + } } -- 2.43.0