Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209336
b: refs/heads/master
c: 2016e4a
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Aug 11, 2010
1 parent 0f61013 commit 88f1c31
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: ce326329d72238196d61312d1cf1556ebaf94da7
refs/heads/master: 2016e4a0a1c49b68c9d820e28dadab7080c45d1b
2 changes: 1 addition & 1 deletion trunk/drivers/platform/x86/ideapad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static ssize_t store_ideapad_cam(struct device *dev,
return 0;
if (sscanf(buf, "%i", &state) != 1)
return -EINVAL;
ret = ideapad_dev_set_state(IDEAPAD_DEV_CAMERA, state);
ret = ideapad_dev_set_state(IDEAPAD_DEV_CAMERA, !!state);
if (ret < 0)
return ret;
return count;
Expand Down

0 comments on commit 88f1c31

Please sign in to comment.