Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276876
b: refs/heads/master
c: a32390d
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Jarosch authored and Mauro Carvalho Chehab committed Dec 11, 2011
1 parent e32a38a commit 59beeb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5eefb4f09bd8b250421fbd055e67d136d57f4030
refs/heads/master: a32390d808b5b7a6b1c7f9236673c917b4733f13
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/m5mols/m5mols_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ int m5mols_mode(struct m5mols_info *info, u8 mode)
int ret = -EINVAL;
u8 reg;

if (mode < REG_PARAMETER && mode > REG_CAPTURE)
if (mode < REG_PARAMETER || mode > REG_CAPTURE)
return ret;

ret = m5mols_read_u8(sd, SYSTEM_SYSMODE, &reg);
Expand Down

0 comments on commit 59beeb7

Please sign in to comment.