drm/exynos: Fix error value in exynos_drm_crtc_get_by_type()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 12 Dec 2017 12:01:15 +0000 (13:01 +0100)
committerInki Dae <inki.dae@samsung.com>
Thu, 24 May 2018 07:47:39 +0000 (16:47 +0900)
commite9497dc2f3e0ead4004231b8d282cb4ecdd36463
tree9e2545758cf0a96b0764699b0d3960c6a6f1d820
parentecf81ed98c8df8c6d397f4e044af175481b5b831
drm/exynos: Fix error value in exynos_drm_crtc_get_by_type()

EPERM is not the correct error value when the driver is not able to get
its resources. Change it to ENODEV.

Reported-by: Russell King - ARM Linux <linux@armlinux.org.uk>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c