aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaik Ameer Basha <shaik.ameer@samsung.com>2012-10-16 08:39:08 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-25 12:41:12 -0400
commita63bafd8e3a48263983e046ba34607d1ceb1743b (patch)
treeebe97bae6e09d64ac10ae1b32268063c15dce6cb
parent4bd0e030aadaba4a0e8fd5c0233d7e61f2e6207d (diff)
[media] s5p-fimc: fix variable type in fimc_device_run()
In fimc_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>
-rw-r--r--drivers/media/platform/s5p-fimc/fimc-m2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-m2m.c b/drivers/media/platform/s5p-fimc/fimc-m2m.c
index 4500e44f6857..4c4e90105112 100644
--- a/drivers/media/platform/s5p-fimc/fimc-m2m.c
+++ b/drivers/media/platform/s5p-fimc/fimc-m2m.c
@@ -105,7 +105,7 @@ static void fimc_device_run(void *priv)
105 struct fimc_frame *sf, *df; 105 struct fimc_frame *sf, *df;
106 struct fimc_dev *fimc; 106 struct fimc_dev *fimc;
107 unsigned long flags; 107 unsigned long flags;
108 u32 ret; 108 int ret;
109 109
110 if (WARN(!ctx, "Null context\n")) 110 if (WARN(!ctx, "Null context\n"))
111 return; 111 return;