]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm: tegra: xmm: protect xmm power state
authorVinayak Pane <vpane@nvidia.com>
Wed, 30 May 2012 01:00:26 +0000 (18:00 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:31:23 +0000 (12:31 -0700)
commit1c9a052c00ff755460f62bcd6214e5f2cc6dc2b1
tree8d055133b2195262cd8f80aaec24f97739d219f9
parente719d29a9b296266b64cea54ae079abbd3b7e5c4
arm: tegra: xmm: protect xmm power state

Added protection locks for xmm power state. Moving
prints outside of spinlock. Revisit spinlock on global
flags and rearrange in irq.
Avoid kernel crash in case of remote-wakeup detected.
Protect ipc_ap_wake_state in xmm on & off.

Bug 1010131

Change-Id: Id53598b09bececd6f4ff1a948a492e6fcc56628c
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/108427
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Rebase-Id: R79ed8e692f3a5a9770b80b44e14258d42bd6451a
arch/arm/mach-tegra/baseband-xmm-power.c
arch/arm/mach-tegra/baseband-xmm-power.h