drm/exynos/mixer: simplify poweron flag
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 9 Jul 2015 06:25:42 +0000 (08:25 +0200)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 01:23:33 +0000 (10:23 +0900)
commita44652e845739b88214adf9f40478f1ed037348d
tree717302815c40fae94b8fb61e56d63f02ccbdb80c
parentbf56608a73444037d6960204d81662ccbdebe282
drm/exynos/mixer: simplify poweron flag

The driver uses bool protected by mutex to track power state.
The patch replaces this combo with single bit and atomic bitops.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c