msm: rpm_stats: Update the base address to read rpm stats.
Update the base address of the rpm sleep stats to match the address
being used by sleep stats driver on RPM. This change is needed to
allow reading of sleep stats from RPM MSG RAM.
Decrease the size of the MSG RAM for rpm_stats to 256 bytes as it
doesn't take more than that.
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
(cherry picked from commit 660b4e4874c0ab39aae829fc03563f3017d626e2)
Change-Id: Ie6bc059133429ffe75e940aae59fee51a33264b5
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8064.c b/arch/arm/mach-msm/devices-8064.c
index 1b56860..d029c36 100644
--- a/arch/arm/mach-msm/devices-8064.c
+++ b/arch/arm/mach-msm/devices-8064.c
@@ -2279,8 +2279,8 @@
};
static struct msm_rpmstats_platform_data msm_rpm_stat_pdata = {
- .phys_addr_base = 0x0010D204,
- .phys_size = SZ_8K,
+ .phys_addr_base = 0x0010DD04,
+ .phys_size = SZ_256,
};
struct platform_device apq8064_rpm_stat_device = {