Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377272
b: refs/heads/master
c: 8112006
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jun 19, 2013
1 parent 04478ad commit 085a278
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 204ebc0aa30a7115f300cac39fbb7eeb66524881
refs/heads/master: 8112006f41fd76ddf4988f8ddd904563db85613c
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/dock.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,8 +868,10 @@ static ssize_t write_undock(struct device *dev, struct device_attribute *attr,
if (!count)
return -EINVAL;

acpi_scan_lock_acquire();
begin_undock(dock_station);
ret = handle_eject_request(dock_station, ACPI_NOTIFY_EJECT_REQUEST);
acpi_scan_lock_release();
return ret ? ret: count;
}
static DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock);
Expand Down

0 comments on commit 085a278

Please sign in to comment.