ecore-drm2: Fix enabling outputs
authorChris Michael <cp.michael@samsung.com>
Tue, 9 Jan 2018 17:43:15 +0000 (12:43 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 17 Jan 2018 05:14:31 +0000 (14:14 +0900)
commit04b301739c35ef1e3b1b9f2ad0be67ea2b0a3b74
tree89f4eb9dec584eb20d261a3941697a73ad99c2d9
parent47515cfde00f8b5eb8fd07bb33af90d54a38ffe4
ecore-drm2: Fix enabling outputs

Commit 9d583b3fdbed686642dbc0d96d1e417485ca0077 broke
ecore_drm2_output_enabled_set function due changing order of setting
output->enabled value. This patch fixes both issues by checking the
'enabled' variable being passed in.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/ecore_drm2_outputs.c