aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-isp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-isp.c')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-isp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-isp.c b/drivers/media/platform/exynos4-is/fimc-isp.c
index 0fefb53a5b56..e6b0a4b027a9 100644
--- a/drivers/media/platform/exynos4-is/fimc-isp.c
+++ b/drivers/media/platform/exynos4-is/fimc-isp.c
@@ -30,8 +30,8 @@
30#include "fimc-is-regs.h" 30#include "fimc-is-regs.h"
31#include "fimc-is.h" 31#include "fimc-is.h"
32 32
33static int debug; 33int fimc_isp_debug;
34module_param_named(debug_isp, debug, int, S_IRUGO | S_IWUSR); 34module_param_named(debug_isp, fimc_isp_debug, int, S_IRUGO | S_IWUSR);
35 35
36static const struct fimc_fmt fimc_isp_formats[FIMC_ISP_NUM_FORMATS] = { 36static const struct fimc_fmt fimc_isp_formats[FIMC_ISP_NUM_FORMATS] = {
37 { 37 {
@@ -157,8 +157,8 @@ static int fimc_isp_subdev_get_fmt(struct v4l2_subdev *sd,
157 157
158 mutex_unlock(&isp->subdev_lock); 158 mutex_unlock(&isp->subdev_lock);
159 159
160 v4l2_dbg(1, debug, sd, "%s: pad%d: fmt: 0x%x, %dx%d\n", 160 isp_dbg(1, sd, "%s: pad%d: fmt: 0x%x, %dx%d\n", __func__,
161 __func__, fmt->pad, mf->code, mf->width, mf->height); 161 fmt->pad, mf->code, mf->width, mf->height);
162 162
163 return 0; 163 return 0;
164} 164}
@@ -191,7 +191,7 @@ static int fimc_isp_subdev_set_fmt(struct v4l2_subdev *sd,
191 struct v4l2_mbus_framefmt *mf = &fmt->format; 191 struct v4l2_mbus_framefmt *mf = &fmt->format;
192 int ret = 0; 192 int ret = 0;
193 193
194 v4l2_dbg(1, debug, sd, "%s: pad%d: code: 0x%x, %dx%d\n", 194 isp_dbg(1, sd, "%s: pad%d: code: 0x%x, %dx%d\n",
195 __func__, fmt->pad, mf->code, mf->width, mf->height); 195 __func__, fmt->pad, mf->code, mf->width, mf->height);
196 196
197 mf->colorspace = V4L2_COLORSPACE_JPEG; 197 mf->colorspace = V4L2_COLORSPACE_JPEG;
@@ -221,7 +221,7 @@ static int fimc_isp_subdev_s_stream(struct v4l2_subdev *sd, int on)
221 struct fimc_is *is = fimc_isp_to_is(isp); 221 struct fimc_is *is = fimc_isp_to_is(isp);
222 int ret; 222 int ret;
223 223
224 v4l2_dbg(1, debug, sd, "%s: on: %d\n", __func__, on); 224 isp_dbg(1, sd, "%s: on: %d\n", __func__, on);
225 225
226 if (!test_bit(IS_ST_INIT_DONE, &is->state)) 226 if (!test_bit(IS_ST_INIT_DONE, &is->state))
227 return -EBUSY; 227 return -EBUSY;
@@ -235,8 +235,8 @@ static int fimc_isp_subdev_s_stream(struct v4l2_subdev *sd, int on)
235 return ret; 235 return ret;
236 } 236 }
237 237
238 v4l2_dbg(1, debug, sd, "changing mode to %d\n", 238 isp_dbg(1, sd, "changing mode to %d\n", is->config_index);
239 is->config_index); 239
240 ret = fimc_is_itf_mode_change(is); 240 ret = fimc_is_itf_mode_change(is);
241 if (ret) 241 if (ret)
242 return -EINVAL; 242 return -EINVAL;