[COMMON] driver: exynos_adc: add Semaphore for peterson algorithm.
authorChoi Jaehyoung <jkkkkk.choi@samsung.com>
Mon, 17 Apr 2017 12:18:03 +0000 (21:18 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Wed, 9 May 2018 11:27:50 +0000 (20:27 +0900)
commitf127a62b8c661558e532d5efa6ef542049b929fc
tree7d66233996d2be151b6dc7be4807336cf2c7a05e
parent5ae0eda18d822a7c16c1ccf0a3228e5f426e2698
[COMMON] driver: exynos_adc: add Semaphore for peterson algorithm.

The peterson algorithm is applied to prevent race condition between CHUB and AP.

Change-Id: Ic9b4790d42bcbe2ab38434a10149b1377dbc45f8
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
drivers/iio/adc/exynos_adc.c