diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2011-09-11 19:44:36 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2011-09-16 10:45:17 -0700 |
commit | 41049d62e146e0fafe2fac0a31be566b3bbc9149 (patch) | |
tree | 08af5c4196dd9611936871cbb90e9282d6a5fec4 /drivers/i2c/busses/i2c-omap.c | |
parent | cfd8c5c03d8581c104b77735ad03626599c7225f (diff) | |
download | kernel_samsung_tuna-41049d62e146e0fafe2fac0a31be566b3bbc9149.zip kernel_samsung_tuna-41049d62e146e0fafe2fac0a31be566b3bbc9149.tar.gz kernel_samsung_tuna-41049d62e146e0fafe2fac0a31be566b3bbc9149.tar.bz2 |
i2c: omap: fix clearing of int for omap44xx
IRQENABLE_CLR register should be written all 1's to clear interrupt enable
Change-Id: I04298218d381726892646112c9130ffed982ad7f
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-omap.c')
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index bafec23..1ddb15b 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -311,7 +311,7 @@ static void omap_i2c_idle(struct omap_i2c_dev *dev) dev->iestate = omap_i2c_read_reg(dev, OMAP_I2C_IE_REG); if (dev->rev >= OMAP_I2C_REV_ON_4430) - omap_i2c_write_reg(dev, OMAP_I2C_IRQENABLE_CLR, 1); + omap_i2c_write_reg(dev, OMAP_I2C_IRQENABLE_CLR, 0x6FFF); else omap_i2c_write_reg(dev, OMAP_I2C_IE_REG, 0); |