diff mbox

soc: qcom: smd: Correct SMEM items for upper channels

Message ID 1444451737-33861-1-git-send-email-bjorn.andersson@sonymobile.com (mailing list archive)
State Accepted, archived
Delegated to: Andy Gross
Headers show

Commit Message

Bjorn Andersson Oct. 10, 2015, 4:35 a.m. UTC
Update the SMEM items for the second set of SMD channels, as these where
incorrect.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
---
 drivers/soc/qcom/smd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Andy Gross Oct. 12, 2015, 4:36 p.m. UTC | #1
On Fri, Oct 09, 2015 at 09:35:37PM -0700, Bjorn Andersson wrote:
> Update the SMEM items for the second set of SMD channels, as these where
> incorrect.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

Nice.  Good catch.  I verified by counting through the #defines in the
codeaurora code.

Reviewed-by: Andy Gross <agross@codeaurora.org>
Bjorn Andersson Oct. 12, 2015, 5:19 p.m. UTC | #2
On Mon, Oct 12, 2015 at 9:36 AM, Andy Gross <agross@codeaurora.org> wrote:
> On Fri, Oct 09, 2015 at 09:35:37PM -0700, Bjorn Andersson wrote:
>> Update the SMEM items for the second set of SMD channels, as these where
>> incorrect.
>>
>> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
>
> Nice.  Good catch.  I verified by counting through the #defines in the
> codeaurora code.
>

I grew tired of resolving that huge enum list, so I created this:
http://elinux.org/Qualcomm_SMEM_Items

Was planning to document the items as I go, but the list of numbers is
the most important part.

Regards,
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/soc/qcom/smd.c b/drivers/soc/qcom/smd.c
index 18964f1..e7fb8fa 100644
--- a/drivers/soc/qcom/smd.c
+++ b/drivers/soc/qcom/smd.c
@@ -87,8 +87,8 @@  static const struct {
 		.fifo_base_id = 338
 	},
 	{
-		.alloc_tbl_id = 14,
-		.info_base_id = 266,
+		.alloc_tbl_id = 266,
+		.info_base_id = 138,
 		.fifo_base_id = 202,
 	},
 };