msm_fb: display: correct both mdp and dsi register address sapce
Currently both mdp and dsi register address space are set in-correctly.
It causes some debugging registers can not be accessed.
This patch correct both mdp and dsi register address space.
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index 32243eb..fddf877 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -1214,7 +1214,7 @@
{
.name = "mipi_dsi",
.start = MIPI_DSI_HW_BASE,
- .end = MIPI_DSI_HW_BASE + 0x000F0000 - 1,
+ .end = MIPI_DSI_HW_BASE + 0x00100000,
.flags = IORESOURCE_MEM,
},
{
@@ -1235,7 +1235,7 @@
{
.name = "mdp",
.start = MDP_HW_BASE,
- .end = MDP_HW_BASE + 0x000F0000 - 1,
+ .end = MDP_HW_BASE + 0x00100000,
.flags = IORESOURCE_MEM,
},
{
diff --git a/arch/arm/mach-msm/devices-msm8x60.c b/arch/arm/mach-msm/devices-msm8x60.c
index 48bcdd7..80742cd 100644
--- a/arch/arm/mach-msm/devices-msm8x60.c
+++ b/arch/arm/mach-msm/devices-msm8x60.c
@@ -1370,7 +1370,7 @@
{
.name = "mipi_dsi",
.start = MIPI_DSI_HW_BASE,
- .end = MIPI_DSI_HW_BASE + 0x000F0000 - 1,
+ .end = MIPI_DSI_HW_BASE + 0x00100000,
.flags = IORESOURCE_MEM,
},
{
@@ -1391,7 +1391,7 @@
{
.name = "mdp",
.start = MDP_HW_BASE,
- .end = MDP_HW_BASE + 0x000F0000 - 1,
+ .end = MDP_HW_BASE + 0x00100000,
.flags = IORESOURCE_MEM,
},
{