Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f89df3e authored by Naveen Krishna Ch's avatar Naveen Krishna Ch Committed by Wolfram Sang
Browse files

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: default avatarNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 57186fe3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {