drm/exynos/ipp: fix get_property IOCTL
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 19 May 2014 10:54:03 +0000 (12:54 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:10 +0000 (02:07 +0900)
Due to incorrect assignment in EXYNOS_IPP_GET_PROPERTY
IOCTL handler this IOCTL did not work at all.
The patch fixes it.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c

index 09312b8774709478f43ea8690f802651fa85feb4..5aaf21f1a2a23308bdebed9d2baf9ac7af94c790 100644 (file)
@@ -346,7 +346,7 @@ int exynos_drm_ipp_get_property(struct drm_device *drm_dev, void *data,
                        return PTR_ERR(ippdrv);
                }
 
-               prop_list = ippdrv->prop_list;
+               *prop_list = *ippdrv->prop_list;
        }
 
        return 0;