media: video: tegra: ov5650: Remove log messages
authorRebecca Schultz Zavin <rebecca@android.com>
Thu, 29 Jul 2010 05:42:03 +0000 (22:42 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:27 +0000 (16:33 -0700)
Some sensor ioctls are called on every frame.  Remove log messages
to prevent the kernel log from getting too spammy.

Change-Id: I0eb88eb7e7da7c5eb3e158c17ae68cca195147fc
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/media/video/tegra/ov5650.c

index d2f1b147b3fbf5882dfee44dbc4c208f676e2986..5c92e2f6adabc291fd56b8b7947e41f00313570b 100644 (file)
@@ -397,10 +397,6 @@ static int ov5650_set_mode(struct ov5650_info *info, struct ov5650_mode *mode)
 
 static int ov5650_set_frame_length(struct ov5650_info *info, u32 frame_length)
 {
-       pr_info("%s: exposure->frame_length %u\n", __func__, frame_length);
-
-       /* XXX check errors here */
-       /* update frame length*/
        ov5650_write_reg(info->i2c_client, 0x380e, (frame_length >> 8) & 0xff);
        ov5650_write_reg(info->i2c_client, 0x380f, frame_length & 0xff);
 
@@ -409,8 +405,6 @@ static int ov5650_set_frame_length(struct ov5650_info *info, u32 frame_length)
 
 static int ov5650_set_coarse_time(struct ov5650_info *info, u32 coarse_time)
 {
-       pr_info("%s: exposure->coarse_time %u\n", __func__, coarse_time);
-       /* update coarse time */
        ov5650_write_reg(info->i2c_client, 0x3212, 0x01);
        ov5650_write_reg(info->i2c_client, 0x3500,
                         (coarse_time >> 12) & 0xff);
@@ -426,9 +420,6 @@ static int ov5650_set_coarse_time(struct ov5650_info *info, u32 coarse_time)
 
 static int ov5650_set_gain(struct ov5650_info *info, u16 gain)
 {
-       pr_info("%s: gain %u\n", __func__, gain);
-
-       /* update frame length*/
        ov5650_write_reg(info->i2c_client, 0x350b, gain);
 
        return 0;
@@ -449,7 +440,6 @@ static int ov5650_ioctl(struct inode *inode, struct file *file,
                        unsigned int cmd, unsigned long arg)
 {
        struct ov5650_info *info = file->private_data;
-       pr_info("%s\n", __func__);
 
        switch (cmd) {
        case OV5650_IOCTL_SET_MODE: