From: Michael Demeter Date: Mon, 5 Mar 2012 23:01:04 +0000 (-0800) Subject: x86/mid/powerbtn: Use MSIC read/write instead of ipc_scu X-Git-Tag: v3.4-rc1~149^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bee7cea6c93b5514b672d1c347dad9960823f12;p=pandora-kernel.git x86/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 Signed-off-by: Kirill A. Shutemov [ Revert style-only changes. Remove unused variable. Fix comment style. ] Signed-off-by: Alan Cox Acked-by: H. Peter Anvin Cc: Matthew Garrett Signed-off-by: Andrew Morton Link: http://lkml.kernel.org/n/tip-4runmso4t49p4waz5gcvy0ux@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed