Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6849652 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB (7560): videodev: Some printk fixes

parent cb784724
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -781,6 +781,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
	if ( (vfd->debug & V4L2_DEBUG_IOCTL) &&
				!(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) {
		v4l_print_ioctl(vfd->name, cmd);
		printk("\n");
	}

#ifdef CONFIG_VIDEO_V4L1_COMPAT
@@ -1864,8 +1865,9 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,

	if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {
		if (ret<0) {
			printk ("%s: err:\n", vfd->name);
			printk("%s: err: on ", vfd->name);
			v4l_print_ioctl(vfd->name, cmd);
			printk("\n");
		}
	}