aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-08-16 16:36:29 -0700
committerColin Cross <ccross@android.com>2011-09-11 17:27:03 -0700
commit36af2a472ac1b8785f679749c43e47fd37aba2b1 (patch)
treee6744364b17d52ce757cb3976640c72e8234db3e /drivers/input
parent4f77fd436e53acf5bc0a06a24331f64b07fb33ec (diff)
downloadkernel_samsung_aries-36af2a472ac1b8785f679749c43e47fd37aba2b1.zip
kernel_samsung_aries-36af2a472ac1b8785f679749c43e47fd37aba2b1.tar.gz
kernel_samsung_aries-36af2a472ac1b8785f679749c43e47fd37aba2b1.tar.bz2
ARM: vfp: Always save VFP state in vfp_pm_suspend
vfp_pm_suspend should save the VFP state in suspend after any lazy context switch. If it only saves when the VFP is enabled, the state can get lost when, on a UP system: Thread 1 uses the VFP Context switch occurs to thread 2, VFP is disabled but the VFP context is not saved Thread 2 initiates suspend vfp_pm_suspend is called with the VFP disabled, and the unsaved VFP context of Thread 1 in the registers Modify vfp_pm_suspend to save the VFP context whenever vfp_current_hw_state is not NULL. Change-Id: I91f29722d256a3afc1cc04df8b227541434ccffb Cc: Russell King <linux@arm.linux.org.uk> Cc: Barry Song <bs14@csr.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions