Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202476
b: refs/heads/master
c: 6a984a0
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Matthew Garrett committed Aug 3, 2010
1 parent 3e4cc5c commit 02ea65c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 9fb866f317def195bb794120e13d1d73c2a94bb2
refs/heads/master: 6a984a06487129f013ee2df6ce98b6cfada1e7b1
7 changes: 4 additions & 3 deletions trunk/drivers/platform/x86/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,10 +796,11 @@ static ssize_t store_ledd(struct device *dev, struct device_attribute *attr,

rv = parse_arg(buf, count, &value);
if (rv > 0) {
if (write_acpi_int(asus->handle, METHOD_LEDD, value))
if (write_acpi_int(asus->handle, METHOD_LEDD, value)) {
pr_warning("LED display write failed\n");
else
asus->ledd_status = (u32) value;
return -ENODEV;
}
asus->ledd_status = (u32) value;
}
return rv;
}
Expand Down

0 comments on commit 02ea65c

Please sign in to comment.