Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186765
b: refs/heads/master
c: 13a21ad
h: refs/heads/master
i:
  186763: 2946cbd
v: v3
  • Loading branch information
Jochen Maes authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 7aa6c25 commit da98d46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 451ff3737d220a17869d7304d5735146f9cc587f
refs/heads/master: 13a21ad18cb43574a1a642baf105afdf2a9260c4
22 changes: 12 additions & 10 deletions trunk/drivers/staging/dream/camera/s5k3e2fx.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,12 +743,14 @@ static int s5k3e2fx_sensor_open_init(const struct msm_camera_sensor_info *data)
}

/* initialize AF */
if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
0x3146, 0x3A)) < 0)
rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
0x3146, 0x3A)
if (rc < 0)
goto init_fail1;

if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
0x3130, 0x03)) < 0)
rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
0x3130, 0x03)
if (rc < 0)
goto init_fail1;

goto init_done;
Expand Down Expand Up @@ -814,20 +816,20 @@ static uint16_t s5k3e2fx_get_prev_lines_pf(void)

static uint16_t s5k3e2fx_get_prev_pixels_pl(void)
{
return (s5k3e2fx_reg_pat[S_RES_PREVIEW].size_w +
s5k3e2fx_reg_pat[S_RES_PREVIEW].blk_p);
return s5k3e2fx_reg_pat[S_RES_PREVIEW].size_w +
s5k3e2fx_reg_pat[S_RES_PREVIEW].blk_p;
}

static uint16_t s5k3e2fx_get_pict_lines_pf(void)
{
return (s5k3e2fx_reg_pat[S_RES_CAPTURE].size_h +
s5k3e2fx_reg_pat[S_RES_CAPTURE].blk_l);
return s5k3e2fx_reg_pat[S_RES_CAPTURE].size_h +
s5k3e2fx_reg_pat[S_RES_CAPTURE].blk_l;
}

static uint16_t s5k3e2fx_get_pict_pixels_pl(void)
{
return (s5k3e2fx_reg_pat[S_RES_CAPTURE].size_w +
s5k3e2fx_reg_pat[S_RES_CAPTURE].blk_p);
return s5k3e2fx_reg_pat[S_RES_CAPTURE].size_w +
s5k3e2fx_reg_pat[S_RES_CAPTURE].blk_p;
}

static uint32_t s5k3e2fx_get_pict_max_exp_lc(void)
Expand Down

0 comments on commit da98d46

Please sign in to comment.