drm/exynos: fix WINDOWS_NR checking to vidi driver
authorInki Dae <inki.dae@samsung.com>
Tue, 28 May 2013 07:01:21 +0000 (16:01 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 28 Jun 2013 12:11:48 +0000 (21:11 +0900)
commita7f98d6a929ff1cd8378522372f36faf8b9f9a37
tree8487fb886412f9f61409a6605ff532a1b09ce285
parent37b006e88e090392cdb2787ef344193702c1d75b
drm/exynos: fix WINDOWS_NR checking to vidi driver

This patch just checks if win_data array range is valid
or not correctly.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_vidi.c