Browse Source

[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>
Hans Verkuil 12 years ago
parent
commit
b6f8727e9f
1 changed files with 0 additions and 12 deletions
  1. 0 12
      drivers/media/pci/cx25821/cx25821-video.c

+ 0 - 12
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);