summaryrefslogtreecommitdiff
path: root/drivers/pps/pps.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-09-22 12:26:09 -0700
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-23 09:05:28 +0200
commitffed1b94cbf869e81de0525608193f367db2ba36 (patch)
tree6c1ce71029c2ac9754766ab16ce3818bb175a19d /drivers/pps/pps.c
parentd4d11449088ee9aca16fd1884b852b8b73a4bda1 (diff)
mmc: sdhci-msm: Make tuning block table endian agnostic
If we're tuning on a big-endian CPU we'll never determine we properly tuned the device because we compare the data we received from the controller with a table that assumes the CPU is little-endian. Change the table to be an array of bytes instead of 32-bit words so we can use memcmp() without needing to byte-swap every word depending on the endianess of the CPU. Cc: Asutosh Das <asutoshd@codeaurora.org> Cc: Venkat Gopalakrishnan <venkatg@codeaurora.org> Reviewed-by: Georgi Djakov <gdjakov@mm-sol.com> Fixes: 415b5a75da43 "mmc: sdhci-msm: Add platform_execute_tuning implementation" Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pps/pps.c')
0 files changed, 0 insertions, 0 deletions