projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57186fe
)
i2c: exynos5: remove an unnecessary read of FIFO_STATUS register
author
Naveen Krishna Ch
<ch.naveen@samsung.com>
Thu, 26 Jun 2014 05:14:57 +0000
(10:44 +0530)
committer
Wolfram Sang
<wsa@the-dreams.de>
Thu, 17 Jul 2014 09:58:46 +0000
(11:58 +0200)
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>
drivers/i2c/busses/i2c-exynos5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-exynos5.c
b/drivers/i2c/busses/i2c-exynos5.c
index f9447a4263afcf57a4db3650cdfd83d9621b778b..257d7d978986174673caaa4cc77c73093f90d2ba 100644
(file)
--- 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) {