drm/exynos/mixer: fix mode validation code
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 29 Sep 2017 10:05:35 +0000 (12:05 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 26 Oct 2017 00:06:32 +0000 (09:06 +0900)
commit6ace38a52783705038e312220eb5d31237866fec
tree452611f6c4f7c99fac0b32381e77218b3a5e8970
parent3fc40ca9695c6a10c528f80306b1731128eca8c1
drm/exynos/mixer: fix mode validation code

Mode limitation checked in mixer driver affects only older HW.
Mixer in Exynos542x has no such limitations. While at it patch changes
validation callback to recently introduced mode_valid which is more
suitable for the check. Additionally little cleanup is performed.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c