[COMMON] iio: exynos_adc: Insert enable_irq/disable_irq
authorChangki Kim <changki.kim@samsung.com>
Wed, 27 Apr 2016 04:57:57 +0000 (13:57 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Wed, 9 May 2018 11:27:49 +0000 (20:27 +0900)
commit622eac03d340651e6710ad5b7088a5c1b6a77e38
treee0610b90f5631da2d3e58880607c4706a559071a
parent17fb3983f6b6115efad1d83461887684c664da5d
[COMMON] iio: exynos_adc: Insert enable_irq/disable_irq

If interrupt is handled after clock is disable,
external abort on non-linefetch is occurred.

This patch disable interrupt before disable clock
and enable interrupt after enable clock to avoid external abort.

Change-Id: I028bd20ecd768ee3d2820249ab64dd1aae6b132e
Signed-off-by: Eunki Kim <eunki_kim@samsung.com>
Signed-off-by: Changki Kim <changki.kim@samsung.com>
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/iio/adc/exynos_adc.c