From f7c36de7d66feaeffa22f8898b0939ff38f74d68 Mon Sep 17 00:00:00 2001 From: kdivvela Date: Fri, 2 Sep 2011 12:41:17 +0530 Subject: media: video: tegra: ov5650: Remove redundant i2c cmds In QVGA 120fps mode, i2c reset commands are done twice. One in "mode_320x240" and one in common "mode_end" which would be done for all the modes commonly. So removed QVGA mode specific one. Bug 868680 Change-Id: I434cd1e7a9dd1be112ce4640e5d9f5d85e7bbc67 Reviewed-on: http://git-master/r/50459 Tested-by: Krupal Divvela Reviewed-by: Shantanu Nath Reviewed-by: Bharat Nihalani Reviewed-by: Patrick Shehane --- drivers/media/video/tegra/ov5650.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/video/tegra/ov5650.c b/drivers/media/video/tegra/ov5650.c index b667d13ea4b3..52e487e9fe0d 100644 --- a/drivers/media/video/tegra/ov5650.c +++ b/drivers/media/video/tegra/ov5650.c @@ -703,8 +703,6 @@ static struct ov5650_reg mode_320x240[] = { {0x4800, 0x24}, //bit[5]=0 as CSI continuous clock {0x4837, 0x40}, //120/60/30fps:0x10/0x20/0x40 {0x3815, 0x82}, - {0x3003, 0x01}, - {0x3008, 0x02}, {OV5650_TABLE_END, 0x0000} }; -- cgit v1.2.3