Revert "media: video: tegra: ov5650: adding group hold"
authorRebecca Schultz Zavin <rebecca@android.com>
Mon, 13 Dec 2010 19:44:29 +0000 (11:44 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Mon, 13 Dec 2010 21:47:20 +0000 (13:47 -0800)
This reverts commit 79b6dbe9a8b2f05c6fc1d315f150eba05f2a3171.

drivers/media/video/tegra/ov5650.c

index fb38471c54870ca22e9760eccfefae8fa394d062..96957448447ab62ac96556b437c5abf714d13609 100755 (executable)
@@ -504,10 +504,6 @@ static int ov5650_set_frame_length(struct ov5650_info *info, u32 frame_length)
 
        ov5650_get_frame_length_regs(reg_list, frame_length);
 
-       ret = ov5650_write_reg(info->i2c_client, 0x3212, 0x01);
-       if (ret)
-               return ret;
-
        for (i = 0; i < 2; i++) {
                ret = ov5650_write_reg(info->i2c_client, reg_list[i].addr,
                        reg_list[i].val);
@@ -515,14 +511,6 @@ static int ov5650_set_frame_length(struct ov5650_info *info, u32 frame_length)
                        return ret;
        }
 
-       ret = ov5650_write_reg(info->i2c_client, 0x3212, 0x11);
-       if (ret)
-               return ret;
-
-       ret = ov5650_write_reg(info->i2c_client, 0x3212, 0xa1);
-       if (ret)
-               return ret;
-
        return 0;
 }