From 3fa8ce564de498461f567c3917dc4c610388d747 Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Wed, 3 Jun 2015 14:59:36 -0700 Subject: media: tegra_camera: clear MIPI_CAL flag MIPI calibration should be done when power on the VI/CSI hardware. So clear the MIPI_CAL flag to trigger MIPI calibration for next power on operation. Bug 1648875 Change-Id: Ic0689a331a6058e4d54d5b41869f2e81feb4158c Signed-off-by: Bryan Wu Reviewed-on: http://git-master/r/752129 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Arun Kannan GVS: Gerrit_Virtual_Submit Reviewed-by: Arun Kannan Reviewed-by: Matthew Pedro --- drivers/media/platform/soc_camera/tegra_camera/vi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/platform/soc_camera/tegra_camera/vi2.c') diff --git a/drivers/media/platform/soc_camera/tegra_camera/vi2.c b/drivers/media/platform/soc_camera/tegra_camera/vi2.c index 3f3b8bfc7d9b..6825de92e5e8 100644 --- a/drivers/media/platform/soc_camera/tegra_camera/vi2.c +++ b/drivers/media/platform/soc_camera/tegra_camera/vi2.c @@ -1100,7 +1100,7 @@ static int vi2_mipi_calibration(struct tegra_camera_dev *cam) regmap_update_bits(regs, CILC_MIPI_CAL_CONFIG_2, CLKSELC, 0); regmap_update_bits(regs, CILD_MIPI_CAL_CONFIG, SELD, 0); regmap_update_bits(regs, CILD_MIPI_CAL_CONFIG_2, CLKSELD, 0); - regmap_update_bits(regs, CILC_MIPI_CAL_CONFIG, SELE, 0); + regmap_update_bits(regs, CILE_MIPI_CAL_CONFIG, SELE, 0); regmap_update_bits(regs, CSIE_MIPI_CAL_CONFIG_2, CLKSELE, 0); /* Select the CIL pad for auto calibration */ -- cgit v1.2.3