summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2014-03-06 14:48:50 -0700
committerTroy Kisky <troy.kisky@boundarydevices.com>2014-04-24 18:59:48 -0700
commitab08b5829831ec02821e160ccf01bfc66cba9a36 (patch)
treee3a2f184d4ab2c6c50a26e1b58ed013f82b45fb3
parentb7d348fe800da9dd8f134cb8718f1411b60b117a (diff)
mxc_v4l2_capture: improve debug messages
-rw-r--r--drivers/media/platform/mxc/capture/mxc_v4l2_capture.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
index 6a0d097a5961..6e8683ac7142 100644
--- a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
+++ b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
@@ -491,11 +491,11 @@ static int mxc_streamoff(cam_data *cam)
{
int err = 0;
- pr_debug("%s\n", __func__);
-
+ pr_debug("%s: ipu%d/csi%d capture_on=%d %s\n", __func__, cam->ipu_id,
+ cam->csi, cam->capture_on,
+ mxc_capture_inputs[cam->current_input].name);
if (cam->capture_on == false)
return 0;
-
/* For both CSI--MEM and CSI--IC--MEM
* 1. wait for idmac eof
* 2. disable csi first
@@ -1591,7 +1591,7 @@ static void power_down_callback(struct work_struct *work)
down(&cam->busy_lock);
if (!cam->open_count) {
- pr_err("%s\n", __func__);
+ pr_info("%s: ipu%d/csi%d\n", __func__, cam->ipu_id, cam->csi);
vidioc_int_s_power(cam->sensor, 0);
cam->power_on = 0;
}