Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306252
b: refs/heads/master
c: f22926e
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed May 8, 2012
1 parent f35e9c4 commit 9412709
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 213cf90b9ad07d40c1e7aa5781907695107fe188
refs/heads/master: f22926e06e1ab7aa5f5c532afa4591f3d9baf59c
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/omap3isp/isppreview.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,9 @@ static int preview_config(struct isp_prev_device *prev,
struct preview_update *attr;
int i, bit, rval = 0;

if (cfg->update == 0)
return 0;

params = &prev->params;

if (prev->state != ISP_PIPELINE_STREAM_STOPPED) {
Expand Down Expand Up @@ -944,6 +947,9 @@ static void preview_setup_hw(struct isp_prev_device *prev)
int i, bit;
void *param_ptr;

if (prev->update == 0)
return;

for (i = 0; i < ARRAY_SIZE(update_attrs); i++) {
attr = &update_attrs[i];

Expand Down

0 comments on commit 9412709

Please sign in to comment.