ecore-drm: Return the index of the crtc from output_crtc_find
authorChris Michael <devilhorns@comcast.net>
Wed, 11 Mar 2015 21:09:48 +0000 (17:09 -0400)
committerBoram Park <boram1288.park@samsung.com>
Fri, 17 Apr 2015 05:47:19 +0000 (14:47 +0900)
commit22eb61adf44244f2881d35ecc6ea309ee41dcab2
tree08a971df7ebeaeff39972c1fc82380b6f63fd387
parent0479617ca2120f345cf8ebc3e03218f5a800fda1
ecore-drm: Return the index of the crtc from output_crtc_find

Summary:
Fix issue of invalid memory read from
ecore_drm_output_create. We call ecore_drm_output_crtc_find to get the
Index of the crtc to use, however prior to this commit the index was
not being returned (the actual crtc was)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2140
src/lib/ecore_drm/ecore_drm_output.c