From: Michael Demeter Date: Thu, 26 Jan 2012 17:40:27 +0000 (+0000) Subject: intel_mid_powerbtn: use MSIC read/write instead of ipc_scu X-Git-Tag: v3.4-rc1~63^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7714567c87f43862d3d7049ed2907567be3e50c3;p=pandora-kernel.git intel_mid_powerbtn: use MSIC read/write instead of ipc_scu In the 2.6.36 kernel we did not have the MSIC driver. Changed all ipc_scu_reads/writes to use the MSIC driver and defines. Added a fix from the 2.6.36 kernel where the SCU FW could send a power button interrupt to the IA32 FW and the kernel was not running yet. This resulted in the interrupt not getting cleared and the power button was ignored. this fix just clears the interrupt on start-up. Signed-off-by: Michael Demeter Reviewed-by: Mika Westerberg Revert style-only changes. Remove unused variable. Fix comment style.] Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed