msm: camera: Change mount angle of IMX074 sensor
IMX074 sensor is rotated 180 degree on 8064 liquid. Change
mount of IMX074 to fix it.
Change-Id: Iac9125b2b4930d21917cbcb8ca5c82c98f14cf3f
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064-camera.c b/arch/arm/mach-msm/board-8064-camera.c
index c714bc8..d335978 100644
--- a/arch/arm/mach-msm/board-8064-camera.c
+++ b/arch/arm/mach-msm/board-8064-camera.c
@@ -530,8 +530,10 @@
msm_gpiomux_install(apq8064_cam_common_configs,
ARRAY_SIZE(apq8064_cam_common_configs));
- if (machine_is_apq8064_cdp() || machine_is_apq8064_liquid())
+ if (machine_is_apq8064_cdp())
sensor_board_info_imx074.mount_angle = 0;
+ else if (machine_is_apq8064_liquid())
+ sensor_board_info_imx074.mount_angle = 180;
platform_device_register(&msm8960_device_i2c_mux_gsbi4);
platform_device_register(&msm8960_device_csiphy0);