From: Holger Macht Date: Wed, 12 Mar 2008 00:07:27 +0000 (+0100) Subject: ACPI: Set flag DOCK_UNDOCKING when triggered via sysfs X-Git-Tag: v2.6.25-rc7~107^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9171f83488940e4ff85f1b7137773eb1f306cdef;p=pandora-kernel.git ACPI: Set flag DOCK_UNDOCKING when triggered via sysfs begin_undock() is only called when triggered via a acpi notify handler (pressing the undock button on the dock station), but complete_undock() is always called after the eject. So if a undock is triggered through a sysfs write, the flag DOCK_UNDOCKING has to be set for the dock station, too. Otherwise this will freeze the system hard. Signed-off-by: Holger Macht Acked-by: Kristen Carlson Accardi Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed