summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-03-18 10:17:15 +0100
committerLen Brown <len.brown@intel.com>2008-03-18 10:17:15 +0100
commit13d93924f13e1989cf27375cd46451475bc70d1d (patch)
tree13b263ef89f15fe50ed0b93aff1322e092968d7f /drivers/acpi
parentMerge branches 'release', 'asus', 'bugzilla-8573', 'bugzilla-9995', 'bugzilla... (diff)
parentACPI: Set flag DOCK_UNDOCKING when triggered via sysfs (diff)
downloadlinux-13d93924f13e1989cf27375cd46451475bc70d1d.tar.xz
linux-13d93924f13e1989cf27375cd46451475bc70d1d.zip
Merge branches 'release' and 'dock' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/dock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 307cef65c247..fa44fb96fc34 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -710,6 +710,7 @@ static ssize_t write_undock(struct device *dev, struct device_attribute *attr,
if (!count)
return -EINVAL;
+ begin_undock(dock_station);
ret = handle_eject_request(dock_station, ACPI_NOTIFY_EJECT_REQUEST);
return ret ? ret: count;
}