ecore-drm: Don't crash when trying to disable an output
authorChris Michael <cp.michael@samsung.com>
Wed, 3 Jun 2015 18:29:14 +0000 (14:29 -0400)
committerChris Michael <cp.michael@samsung.com>
Fri, 5 Jun 2015 14:00:44 +0000 (10:00 -0400)
commit354fd6f67b9d4069bfcf26c1899183f644e429a5
treebaed3a820f19175cbb0fae30421fe7b164ef9149
parentfb9f33035eb8cfdb17a57f2ac22613796cf7ebe7
ecore-drm: Don't crash when trying to disable an output

Summary: If we call these functions with an already disabled output,
we crash. Check for an output being 'enabled' before we make these
calls.

@fix

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