i2c: sh_i2c.c: correct BUSY bit define in ICSR
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Thu, 13 Sep 2012 19:07:57 +0000 (19:07 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 16 Oct 2012 03:47:19 +0000 (05:47 +0200)
Correct BUSY bit define in ICSR from (1<<3) to (1<<4).

Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
drivers/i2c/sh_i2c.c

index 035069f07ba3f129364b55d9cfd4e2ec5bc47b5a..eced61de0b723ef876ea76f784280b3a65b17e3f 100644 (file)
@@ -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)