diff options
author | Naveen Krishna Ch <ch.naveen@samsung.com> | 2014-06-26 10:44:57 +0530 |
---|---|---|
committer | Hyungwon Hwang <human.hwang@samsung.com> | 2014-12-17 16:18:04 +0900 |
commit | 2035e75a8d99a1633c6fc65d6026a03aa977bf9a (patch) | |
tree | 6f8bf621c0e5e2d522e4d0b4158b15626b698b10 /drivers | |
parent | f46baddf9eb74244e2e9ee2e20685818cb185073 (diff) | |
download | linux-3.10-2035e75a8d99a1633c6fc65d6026a03aa977bf9a.tar.gz linux-3.10-2035e75a8d99a1633c6fc65d6026a03aa977bf9a.tar.bz2 linux-3.10-2035e75a8d99a1633c6fc65d6026a03aa977bf9a.zip |
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')
-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 7735c76c601..bfc4f0b4ec3 100644 --- a/drivers/i2c/busses/i2c-exynos5.c +++ b/drivers/i2c/busses/i2c-exynos5.c @@ -406,7 +406,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) { |