Re: [PATCH 1/2] mmc: sdhci-msm: Make tuning block table endian agnostic

2014-09-23 Thread Ulf Hansson
On 22 September 2014 21:26, Stephen Boyd sb...@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

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

2014-09-22 Thread Stephen Boyd
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