Add initialization value for delay after STOP bit for Dove i2c
controller (mv-64xxx driver).

Signed-off-by: Konstantin Porotchkin <[email protected]>
---
 arch/arm/mach-dove/common.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index e06a88f..7ebc82f 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -497,6 +497,7 @@ void __init dove_spi1_init(void)
 static struct mv64xxx_i2c_pdata dove_i2c_data = {
        .freq_m         = 10, /* assumes 166 MHz TCLK gets 94.3kHz */
        .freq_n         = 3,
+       .delay_after_stop = 3, /* 3 ms delay needed when freq is 94.3kHz */
        .timeout        = 1000, /* Default timeout of 1 second */
 };
 
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to