Skip to content

Commit

Permalink
Fix E739 camera angle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kali- committed Feb 11, 2012
1 parent 6e6f9a5 commit b6297e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/media/video/msm/mt9p017.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,12 +1372,16 @@ static int mt9p017_sensor_probe(const struct msm_camera_sensor_info *info,
s->s_config = mt9p017_sensor_config;
s->s_camera_type = BACK_CAMERA_2D;

#ifdef CONFIG_LGE_MODEL_E739
s->s_mount_angle = 90;
#else
if (board_is_rev("rev_c"))
s->s_mount_angle = 270;
else if (board_is_rev("rev_10"))
s->s_mount_angle = 90;
else
s->s_mount_angle = 0;
#endif

CDBG("mt9p017_sensor_probe: SENSOR PROBE completed !\n");
return rc;
Expand Down

0 comments on commit b6297e8

Please sign in to comment.