r5u870

Ricoh R5U870 Linux Driver
git clone https://logand.com/git/r5u870.git/
Log | Files | Refs | README | LICENSE

commit 87d9f562ec17c01fb2eaee0637bcfdbd46471cbd
parent b2db20312a0b5fd995b16095f9acead6877e29ec
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date:   Wed, 12 Mar 2008 04:44:55 +0000

Don't spew "received ioctl" messages to the syslog - only if we're in 
debug mode.


git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@61 022568fa-442e-4ef8-a3e8-54dcafdb011a

Diffstat:
Musbcam/usbcam_fops.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/usbcam/usbcam_fops.c b/usbcam/usbcam_fops.c @@ -1122,7 +1122,10 @@ static int usbcam_v4l_int_ioctl(struct inode *inodep, struct file *filp, static int usbcam_v4l_ioctl (struct inode *inodep, struct file *file, unsigned int cmd, unsigned long arg) { - printk("usbcam: received v4l ioctl: %d\n", cmd); + struct usbcam_fh *ufp = (struct usbcam_fh *) file->private_data; + struct usbcam_dev *udp = ufp->ufh_dev; + + usbcam_dbg(udp, IOCTL_MISC, "received V4L ioctl: %d\n", cmd); #ifdef CONFIG_VIDEO_V4L1_COMPAT if (_IOC_TYPE(cmd) == 'v')