aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos-gsc
diff options
context:
space:
mode:
authorShaik Ameer Basha <shaik.ameer@samsung.com>2012-10-16 08:38:34 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-25 12:40:59 -0400
commit4bd0e030aadaba4a0e8fd5c0233d7e61f2e6207d (patch)
tree3e338650b196ac37ba070efa123be5452a3c7b01 /drivers/media/platform/exynos-gsc
parent840354381127fe1097a332bb3e56a1a479cb47f0 (diff)
[media] exynos-gsc: fix variable type in gsc_m2m_device_run()
In gsc_m2m_device_run(), variable "ret" is accepting signed integer values. But currently it is defined as u32. This patch will modify the type of "ret" variable to "int". Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos-gsc')
-rw-r--r--drivers/media/platform/exynos-gsc/gsc-m2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c
index 3c7f00577bd9..047f0f0434ec 100644
--- a/drivers/media/platform/exynos-gsc/gsc-m2m.c
+++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c
@@ -122,7 +122,7 @@ static void gsc_m2m_device_run(void *priv)
122 struct gsc_ctx *ctx = priv; 122 struct gsc_ctx *ctx = priv;
123 struct gsc_dev *gsc; 123 struct gsc_dev *gsc;
124 unsigned long flags; 124 unsigned long flags;
125 u32 ret; 125 int ret;
126 bool is_set = false; 126 bool is_set = false;
127 127
128 if (WARN(!ctx, "null hardware context\n")) 128 if (WARN(!ctx, "null hardware context\n"))