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)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:13 +0000 (13:52 +0900)
commitd702741ef144d86f17f680148bf4a5bb4f8454d4
treef4811f7398389ae9b50140269c7877d8f46c612b
parentae6b22c4a1fc6be27821e048c8bdd29d390b40f7
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