Commit a63bafd8 authored by Shaik Ameer Basha's avatar Shaik Ameer Basha Committed by Mauro Carvalho Chehab

[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: default avatarShaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4bd0e030
...@@ -105,7 +105,7 @@ static void fimc_device_run(void *priv) ...@@ -105,7 +105,7 @@ static void fimc_device_run(void *priv)
struct fimc_frame *sf, *df; struct fimc_frame *sf, *df;
struct fimc_dev *fimc; struct fimc_dev *fimc;
unsigned long flags; unsigned long flags;
u32 ret; int ret;
if (WARN(!ctx, "Null context\n")) if (WARN(!ctx, "Null context\n"))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment