[PATCH] mmc: sdhci-msm: Make tuning block table endian agnostic

Stephen Boyd sboyd at codeaurora.org
Wed Sep 3 06:37:42 PDT 2014


On 09/03, Ulf Hansson wrote:
> On 3 September 2014 01:58, Stephen Boyd <sboyd at codeaurora.org> wrote:
> > 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 at codeaurora.org>
> > Cc: Venkat Gopalakrishnan <venkatg at codeaurora.org>
> > Cc: Georgi Djakov <gdjakov at mm-sol.com>
> > Fixes: 415b5a75da43 "mmc: sdhci-msm: Add platform_execute_tuning implementation"
> > Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> 
> Hi Stephen,
> 
> If you want me to pick this up, please repost to linux-mmc as well.
> Otherwise you have my ack for it!
> 

Ok I'll repost it now.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation



More information about the linux-arm-kernel mailing list