drm/exynos: drm_connector: Fix error check condition
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 27 Mar 2013 10:58:43 +0000 (16:28 +0530)
committerInki Dae <daeinki@gmail.com>
Tue, 16 Apr 2013 15:07:27 +0000 (00:07 +0900)
commit81ed7039f3cf656107a277fd7e3ab8f27d442015
tree0e5fb208be6fe8b744ff7b027d9b7541e2fb4cd6
parentd8e9ca45df0b4da4cd1ba66c41a241ed94c03d01
drm/exynos: drm_connector: Fix error check condition

drm_add_edid_modes() returns 0 upon failure to find any modes.
Hence check for 0 and not less than 0.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_connector.c