platform: tegra: adsp: fix adsp freq time_in_state residency
authorPuneet Saxena <puneets@nvidia.com>
Fri, 7 Nov 2014 11:29:31 +0000 (16:29 +0530)
committerSachin Nikam <snikam@nvidia.com>
Mon, 10 Nov 2014 06:58:41 +0000 (22:58 -0800)
commitd1204655737b6a882706f7f1a3bb5d2819e669a3
treeba1f825f935fc15d476b86b385b55472cca55b8b
parentee223d76b1805fa0e8dc271b77f654b0b2fbf26c
platform: tegra: adsp: fix adsp freq time_in_state residency

update time_in_state histogram under lock.
fix memory allocation for time_in_state.

Change-Id: I1513a83a5debfdf6e8df8d1203f48a11dc6cc88e
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/595947
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/platform/tegra/nvadsp/adsp_dfs.c