Revert "[COMMON] i2c: exynos5: Add No Dev interrupt service routine"
authorKyungwoo Kang <kwoo.kang@samsung.com>
Mon, 20 Nov 2017 01:45:28 +0000 (10:45 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
This reverts commit 95ec305230be705e68213fc7e0b98e5aeb63dce5.

Change-Id: Id9122a551e480e85da9121415700271bea9c16bd
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/i2c/busses/i2c-exynos5.c

index 23a61a5dfb389973e68f387fa66bbab1a3f3daaa..fe9cf3095646e941fecba452e10f02dece6aa736 100644 (file)
@@ -112,7 +112,6 @@ static LIST_HEAD(drvdata_list);
 #define HSI2C_INT_RX_OVERRUN                   (1u << 5)
 #define HSI2C_INT_TRAILING                     (1u << 6)
 #define HSI2C_INT_I2C                          (1u << 9)
-#define HSI2C_INT_NODEV                                (1u << 10)
 #define HSI2C_RX_INT                           (HSI2C_INT_RX_ALMOSTFULL | \
                                                 HSI2C_INT_RX_UNDERRUN | \
                                                 HSI2C_INT_RX_OVERRUN | \
@@ -564,12 +563,6 @@ static irqreturn_t exynos5_i2c_irq(int irqno, void *dev_id)
                dev_err(i2c->dev, "HSI2C Error Interrupt "
                                "occurred(IS:0x%08x, TR:0x%08x)\n",
                                (unsigned int)reg_val, (unsigned int)trans_status);
-
-               if (reg_val & HSI2C_INT_NODEV) {
-                       dev_err(i2c->dev, "HSI2C NO ACK occured\n");
-                       goto out;
-               }
-
                i2c->trans_done = -ENXIO;
                exynos5_i2c_stop(i2c);
                goto out;