]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: qcom: smd: Handle big endian CPUs
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 17 Sep 2015 21:50:53 +0000 (14:50 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 14 Oct 2015 19:51:21 +0000 (14:51 -0500)
commit24f60e3776e340136f8d822aff75fe06b78a315f
treee4e3f75bf279f14211095d9b9d2589cf9de1c7ca
parent30b7ea5eda0afb13164b2d7049a56645cfc1d47b
soc: qcom: smd: Handle big endian CPUs

The smd structures are always in little endian, but the smd
driver is not capable of being used on big endian CPUs. Annotate
the little endian data members and update the code to do the
proper byte swapping.

Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
drivers/soc/qcom/smd.c