summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2014-06-26 10:44:57 +0530
committerWolfram Sang <wsa@the-dreams.de>2014-07-17 11:58:46 +0200
commit9f89df3ed6846629c8a30c42a0856f891b5b47d3 (patch)
treeb36cb7144bd93b39927b08142763c09d432219ab /drivers/i2c
parent57186fe3db3ec462065a9fab41344a9d78785ad9 (diff)
downloadop-kernel-dev-9f89df3ed6846629c8a30c42a0856f891b5b47d3.zip
op-kernel-dev-9f89df3ed6846629c8a30c42a0856f891b5b47d3.tar.gz
i2c: exynos5: remove an unnecessary read of FIFO_STATUS register
This patch removes an extra read of FIFO_STATUS register in the interrrupt service routine. Which is read again before the actual use. Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-exynos5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index f9447a4..257d7d9 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -405,7 +405,6 @@ static irqreturn_t exynos5_i2c_irq(int irqno, void *dev_id)
int_status = readl(i2c->regs + HSI2C_INT_STATUS);
writel(int_status, i2c->regs + HSI2C_INT_STATUS);
- fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS);
/* handle interrupt related to the transfer status */
if (int_status & HSI2C_INT_I2C) {
OpenPOWER on IntegriCloud