From: Hyunki Koo Date: Tue, 4 Mar 2014 14:13:18 +0000 (+0900) Subject: i2c: s3c2410: change sequence for i2c_message_start X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28e967e6df7003f5c23710a41b5c262fb998b58e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git i2c: s3c2410: change sequence for i2c_message_start Change-Id: Id00a637ffad58c6033231d67fed818ba27019769 Signed-off-by: Hyunki Koo --- 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);