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)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 11 Mar 2015 21:09:49 +0000 (17:09 -0400)
commit9abc0ee76f27707f63cd5155d9da8501e3755d7b
tree32f61385aeb0e44fa108f602969f9b56247323fe
parent1733d29922f8f1e07d63ad6be3264bc9249b3301
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