summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTaras Kondratiuk <takondra@cisco.com>2016-07-13 22:05:38 +0000
committerBen Hutchings <ben@decadent.org.uk>2016-11-20 01:16:53 +0000
commita6889df5406276eefa252cace97d3d2e5c48af05 (patch)
tree9f9995831169c876b4de9069f2ce3368dfa3e818 /include/linux
parent5505be841490287e1443fc8b48e5c8fe828ab8d5 (diff)
mmc: block: fix packed command header endianness
commit f68381a70bb2b26c31b13fdaf67c778f92fd32b4 upstream. The code that fills packed command header assumes that CPU runs in little-endian mode. Hence the header is malformed in big-endian mode and causes MMC data transfer errors: [ 563.200828] mmcblk0: error -110 transferring data, sector 2048, nr 8, cmd response 0x900, card status 0xc40 [ 563.219647] mmcblk0: packed cmd failed, nr 2, sectors 16, failure index: -1 Convert header data to LE. Signed-off-by: Taras Kondratiuk <takondra@cisco.com> Fixes: ce39f9d17c14 ("mmc: support packed write command for eMMC4.5 devices") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions