aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-13 08:44:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 18:05:00 -0300
commitb6f8727e9f4cff765de2b24e82c1b2cfc1a74a86 (patch)
tree5214c882b305a7fc0f5a963304744e467fdde1bd
parentbad1f29d0f98972665e6503a286d058125212aa5 (diff)
[media] cx25821: remove unnecessary debug messages
The v4l2 core already has support for debugging ioctls/file operations. No need to do that again. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/pci/cx25821/cx25821-video.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/pci/cx25821/cx25821-video.c b/drivers/media/pci/cx25821/cx25821-video.c
index 0c11f314c62e..6088ee996b92 100644
--- a/drivers/media/pci/cx25821/cx25821-video.c
+++ b/drivers/media/pci/cx25821/cx25821-video.c
@@ -633,9 +633,6 @@ static int video_open(struct file *file)
u32 pix_format;
int ch_id;
- dprintk(1, "open dev=%s type=%s\n", video_device_node_name(vdev),
- v4l2_type_names[type]);
-
for (ch_id = 0; ch_id < MAX_VID_CHANNEL_NUM - 1; ch_id++)
if (&dev->channels[ch_id].vdev == vdev)
break;
@@ -922,7 +919,6 @@ static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
return err;
}
- dprintk(2, "%s()\n", __func__);
err = cx25821_vidioc_try_fmt_vid_cap(file, priv, f);
if (0 != err)
@@ -956,8 +952,6 @@ static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
dev->channels[fh->channel_id].cif_width = fh->width;
medusa_set_resolution(dev, fh->width, SRAM_CH00);
- dprintk(2, "%s(): width=%d height=%d field=%d\n", __func__, fh->width,
- fh->height, fh->vidq.field);
v4l2_fill_mbus_format(&mbus_fmt, &f->fmt.pix, V4L2_MBUS_FMT_FIXED);
cx25821_call_all(dev, video, s_mbus_fmt, &mbus_fmt);
@@ -1079,8 +1073,6 @@ int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms)
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;
- dprintk(1, "%s()\n", __func__);
-
if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
fh->prio);
@@ -1110,7 +1102,6 @@ static int cx25821_vidioc_enum_input(struct file *file, void *priv,
};
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
unsigned int n;
- dprintk(1, "%s()\n", __func__);
n = i->index;
if (n >= CX25821_NR_INPUT)
@@ -1131,7 +1122,6 @@ static int cx25821_vidioc_g_input(struct file *file, void *priv, unsigned int *i
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
*i = dev->input;
- dprintk(1, "%s(): returns %d\n", __func__, *i);
return 0;
}
@@ -1141,8 +1131,6 @@ static int cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i)
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;
- dprintk(1, "%s(%d)\n", __func__, i);
-
if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
fh->prio);