[media] exynos-gsc: fix variable type in gsc_m2m_device_run()
authorShaik Ameer Basha <shaik.ameer@samsung.com>
Tue, 16 Oct 2012 12:38:34 +0000 (09:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 16:40:59 +0000 (14:40 -0200)
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>
drivers/media/platform/exynos-gsc/gsc-m2m.c

index 3c7f00577bd9fbbe5ed9d78369eb6d965a10d1b4..047f0f0434ecbdebeeb88e00801659193b49c11d 100644 (file)
@@ -122,7 +122,7 @@ static void gsc_m2m_device_run(void *priv)
        struct gsc_ctx *ctx = priv;
        struct gsc_dev *gsc;
        unsigned long flags;
-       u32 ret;
+       int ret;
        bool is_set = false;
 
        if (WARN(!ctx, "null hardware context\n"))