drm/exynos: fimd: don't set .has_hw_trigger in s3c6400 driver data
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 31 May 2016 00:20:22 +0000 (20:20 -0400)
committerInki Dae <daeinki@gmail.com>
Sun, 19 Jun 2016 05:37:25 +0000 (14:37 +0900)
The field value is only checked in fimd_setup_trigger() if .trg_type is
I80_HW_TRG so there's no point in setting this field for the s3c6400 if
is never going to be used since .trg_type is not set.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c

index 3efe1aa89416701223745cec1ec587fb3ef0e2db..1c23a8ff5e8371e205cbfa738107f8c39c0bb6aa 100644 (file)
@@ -120,7 +120,6 @@ static struct fimd_driver_data s3c64xx_fimd_driver_data = {
        .timing_base = 0x0,
        .has_clksel = 1,
        .has_limited_fmt = 1,
-       .has_hw_trigger = 1,
 };
 
 static struct fimd_driver_data exynos3_fimd_driver_data = {