msm: 8064: 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-8064.c b/arch/arm/mach-msm/devices-8064.c
index 95b9a074..7d923e7 100644
--- a/arch/arm/mach-msm/devices-8064.c
+++ b/arch/arm/mach-msm/devices-8064.c
@@ -125,13 +125,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,
},
{