aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-05-09 14:33:42 +0530
committerChirayu Desai <cdesai@cyanogenmod.org>2013-05-09 14:33:42 +0530
commitf163157f7a299b4646e0c005a8658d5926125b8f (patch)
tree3fa168528631049b72e84837f52dc4ac3afed74b /drivers/i2c
parentc0a8d45f8d753a86aeb9826d71a7a1d46ef31514 (diff)
parentbff066a411684d07e23307405f03cf7e7fc4afab (diff)
downloadkernel_samsung_aries-f163157f7a299b4646e0c005a8658d5926125b8f.zip
kernel_samsung_aries-f163157f7a299b4646e0c005a8658d5926125b8f.tar.gz
kernel_samsung_aries-f163157f7a299b4646e0c005a8658d5926125b8f.tar.bz2
Merge tag 'v3.0.77' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into HEAD
This is the 3.0.77 stable release
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-xiic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index 4bb68f3..64e7065 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -311,10 +311,8 @@ static void xiic_fill_tx_fifo(struct xiic_i2c *i2c)
/* last message in transfer -> STOP */
data |= XIIC_TX_DYN_STOP_MASK;
dev_dbg(i2c->adap.dev.parent, "%s TX STOP\n", __func__);
-
- xiic_setreg16(i2c, XIIC_DTR_REG_OFFSET, data);
- } else
- xiic_setreg8(i2c, XIIC_DTR_REG_OFFSET, data);
+ }
+ xiic_setreg16(i2c, XIIC_DTR_REG_OFFSET, data);
}
}