From 28e967e6df7003f5c23710a41b5c262fb998b58e Mon Sep 17 00:00:00 2001 From: Hyunki Koo Date: Tue, 4 Mar 2014 23:13:18 +0900 Subject: [PATCH] i2c: s3c2410: change sequence for i2c_message_start Change-Id: Id00a637ffad58c6033231d67fed818ba27019769 Signed-off-by: Hyunki Koo --- drivers/i2c/busses/i2c-s3c2410.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index b70a9bfa40d6..f18eea60e68c 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -307,9 +307,8 @@ static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, addr ^= 1; /* todo - check for whether ack wanted or not */ - s3c24xx_i2c_enable_ack(i2c); - iiccon = readl(i2c->regs + S3C2410_IICCON); + iiccon |= S3C2410_IICCON_ACKEN; writel(stat, i2c->regs + S3C2410_IICSTAT); dev_dbg(i2c->dev, "START: %08lx to IICSTAT, %02x to DS\n", stat, addr); -- 2.20.1