Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306589
b: refs/heads/master
c: bcad87b
h: refs/heads/master
i:
  306587: 9f0bff1
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 21, 2012
1 parent c6d3ef8 commit 46be923
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: b83643ebf2242388585e95c9a8d2353745d77cfd
refs/heads/master: bcad87bd92f4331d4422c1afd571e66f7f5c95d6
2 changes: 1 addition & 1 deletion trunk/drivers/input/misc/cma3000_d0x.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ struct cma3000_accl_data *cma3000_init(struct device *dev, int irq,
mutex_init(&data->mutex);

data->mode = pdata->mode;
if (data->mode < CMAMODE_DEFAULT || data->mode > CMAMODE_POFF) {
if (data->mode > CMAMODE_POFF) {
data->mode = CMAMODE_MOTDET;
dev_warn(dev,
"Invalid mode specified, assuming Motion Detect\n");
Expand Down

0 comments on commit 46be923

Please sign in to comment.