msm: 8960: Flip the sizes of GSBI_CTRL block and QUP block
We need only 4 bytes to write the protocol code in the GSBI_CTRL
register and need 4KB for the QUP registers.
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index f99799e..1221ead 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -810,13 +810,13 @@
{
.name = "gsbi_qup_i2c_addr",
.start = MSM_GSBI4_PHYS,
- .end = MSM_GSBI4_PHYS + MSM_QUP_SIZE - 1,
+ .end = MSM_GSBI4_PHYS + 4 - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "qup_phys_addr",
.start = MSM_GSBI4_QUP_PHYS,
- .end = MSM_GSBI4_QUP_PHYS + 4 - 1,
+ .end = MSM_GSBI4_QUP_PHYS + MSM_QUP_SIZE - 1,
.flags = IORESOURCE_MEM,
},
{
@@ -838,13 +838,13 @@
{
.name = "gsbi_qup_i2c_addr",
.start = MSM_GSBI3_PHYS,
- .end = MSM_GSBI3_PHYS + MSM_QUP_SIZE - 1,
+ .end = MSM_GSBI3_PHYS + 4 - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "qup_phys_addr",
.start = MSM_GSBI3_QUP_PHYS,
- .end = MSM_GSBI3_QUP_PHYS + 4 - 1,
+ .end = MSM_GSBI3_QUP_PHYS + MSM_QUP_SIZE - 1,
.flags = IORESOURCE_MEM,
},
{
@@ -866,13 +866,13 @@
{
.name = "gsbi_qup_i2c_addr",
.start = MSM_GSBI10_PHYS,
- .end = MSM_GSBI10_PHYS + MSM_QUP_SIZE - 1,
+ .end = MSM_GSBI10_PHYS + 4 - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "qup_phys_addr",
.start = MSM_GSBI10_QUP_PHYS,
- .end = MSM_GSBI10_QUP_PHYS + 4 - 1,
+ .end = MSM_GSBI10_QUP_PHYS + MSM_QUP_SIZE - 1,
.flags = IORESOURCE_MEM,
},
{
@@ -894,13 +894,13 @@
{
.name = "gsbi_qup_i2c_addr",
.start = MSM_GSBI12_PHYS,
- .end = MSM_GSBI12_PHYS + MSM_QUP_SIZE - 1,
+ .end = MSM_GSBI12_PHYS + 4 - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "qup_phys_addr",
.start = MSM_GSBI12_QUP_PHYS,
- .end = MSM_GSBI12_QUP_PHYS + 4 - 1,
+ .end = MSM_GSBI12_QUP_PHYS + MSM_QUP_SIZE - 1,
.flags = IORESOURCE_MEM,
},
{