ARM: tegra: power: Notify clock event in CPU mode switch
authorAlex Frid <afrid@nvidia.com>
Sun, 5 Feb 2012 06:32:44 +0000 (22:32 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:59:25 +0000 (00:59 -0700)
commit922cd16972a52de054378d7de8f390bb53479ce8
tree9ed041b51396fda6ccf5e45cda93183a9eb326e0
parent16f39c052d9270cbb3251f0c7c6a1951df3fca48
ARM: tegra: power: Notify clock event in CPU mode switch

Add clock event notification to switch timekeeping to broadcast
timer during Tegra3 CPU mode switch. Skip notifications if mode
switch happens on entry/exit to/from suspend state when timekeeping
is already suspended.

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 236fd35c40a748d8373d7f34b53c320045fa4d3a)

Change-Id: I38386dfe3d4ffb89f35828cd911d254b976f0063
Reviewed-on: http://git-master/r/84713
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Raabcec0c9dddd3a2f3d80ed61de3acb9c2ce2e5f
arch/arm/mach-tegra/pm-t3.c