From: MUNEDA Takahiro Date: Wed, 22 Mar 2006 05:49:33 +0000 (+0900) Subject: [PATCH] acpiphp: turn off slot power at error case X-Git-Tag: v2.6.18-rc1~858^2~135^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde0e5d722c77d1194f40de54a99c90afe365480;p=pandora-kernel.git [PATCH] acpiphp: turn off slot power at error case When acpiphp_enable_slot() is failed, acpiphp does not change the slot->flags. Therefore, when user tries to read power status, acpiphp_get_power_status() returns the enable status whether the slot is not really enabled. This patch fixes this BUG. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed