drm/panel/s6e3ha2: add locking to brightness update
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 8 Jul 2016 11:31:45 +0000 (13:31 +0200)
committerInki Dae <inki.dae@samsung.com>
Mon, 8 Aug 2016 02:28:28 +0000 (11:28 +0900)
commit6782f031e95b85e0e80fbe92af73203a699bdee6
tree92200cee5c331d2b524fac602264623b7dcebba2
parent67dc782cf159e950af76c9d13766f7768c2077b1
drm/panel/s6e3ha2: add locking to brightness update

Brightness update can be called asynchronously, so access to device should
be synchronized. To do this callback should be split into backlight callback
and device specific part, which can be called from other places.

Change-Id: Ib0c9d81ccaffe63b650dcd948c3ca1e770d03763
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/panel/panel-s6e3ha2.c