msm: camera: Change mount angle of IMX091 sensor
IMX091 sensor is mounted 90 degree with respect to reference plane
on 8960 fluid. Change mount angle to offset the orientation
Change-Id: I511952dd4e04cb3c80936c1218f2e55dc08de9c5
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8960-camera.c b/arch/arm/mach-msm/board-8960-camera.c
index 83e3c8d..83690f3 100644
--- a/arch/arm/mach-msm/board-8960-camera.c
+++ b/arch/arm/mach-msm/board-8960-camera.c
@@ -727,6 +727,11 @@
msm_camera_8960_ext_power_ctrl;
}
+ if (machine_is_msm8960_fluid()) {
+ msm_camera_sensor_imx091_data.sensor_platform_info->
+ mount_angle = 270;
+ }
+
platform_device_register(&msm_camera_server);
platform_device_register(&msm8960_device_csiphy0);
platform_device_register(&msm8960_device_csiphy1);