From: Tetsuyuki Kobayashi Date: Thu, 13 Sep 2012 19:07:57 +0000 (+0000) Subject: i2c: sh_i2c.c: correct BUSY bit define in ICSR X-Git-Tag: v2013.01-rc1~142^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57d7c80472d8c87f7c6d321f89a5aed47c865b5a;p=oweals%2Fu-boot.git i2c: sh_i2c.c: correct BUSY bit define in ICSR Correct BUSY bit define in ICSR from (1<<3) to (1<<4). Acked-by: Nobuhiro Iwamatsu Signed-off-by: Tetsuyuki Kobayashi --- diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 035069f07b..eced61de0b 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -43,7 +43,7 @@ static struct sh_i2c *base; #define SH_I2C_ICCR_SCP (1 << 0) /* ICSR / ICIC */ -#define SH_IC_BUSY (1 << 3) +#define SH_IC_BUSY (1 << 4) #define SH_IC_TACK (1 << 2) #define SH_IC_WAIT (1 << 1) #define SH_IC_DTE (1 << 0)