diff options
author | Naveen Krishna Ch <ch.naveen@samsung.com> | 2014-06-26 01:14:57 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-07-17 05:58:46 -0400 |
commit | 9f89df3ed6846629c8a30c42a0856f891b5b47d3 (patch) | |
tree | b36cb7144bd93b39927b08142763c09d432219ab /drivers/i2c | |
parent | 57186fe3db3ec462065a9fab41344a9d78785ad9 (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c index f9447a4263af..257d7d978986 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) | |||
405 | 405 | ||
406 | int_status = readl(i2c->regs + HSI2C_INT_STATUS); | 406 | int_status = readl(i2c->regs + HSI2C_INT_STATUS); |
407 | writel(int_status, i2c->regs + HSI2C_INT_STATUS); | 407 | writel(int_status, i2c->regs + HSI2C_INT_STATUS); |
408 | fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); | ||
409 | 408 | ||
410 | /* handle interrupt related to the transfer status */ | 409 | /* handle interrupt related to the transfer status */ |
411 | if (int_status & HSI2C_INT_I2C) { | 410 | if (int_status & HSI2C_INT_I2C) { |