From: Holger Macht Date: Wed, 6 Aug 2008 15:56:01 +0000 (+0200) Subject: ACPI: Properly clear flags on false-positives and send uevent on sudden unplug X-Git-Tag: v2.6.27-rc4~68^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd7301ddb762b66bf1831b0820b402e5d2c439d;p=pandora-kernel.git ACPI: Properly clear flags on false-positives and send uevent on sudden unplug Some devices emit a ACPI_NOTIFY_DEVICE_CHECK while physically unplugging even if the software undock has already been done and dock_present() check fails. However, the internal flags need to be cleared (complete_undock()). Also, even notify userspace if the dock station suddently went away without proper software undocking. This happens on a Acer TravelMate 3000 Signed-off-by: Holger Macht Signed-off-by: Andi Kleen --- Reading git-diff-tree failed