diff options
| author | Ben Dooks <[email protected]> | 2016-06-07 14:37:19 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2016-07-25 10:34:27 +0200 |
| commit | e5306c3ab28696fc112025c03c20546a6ff0040f (patch) | |
| tree | ea6de80f2f457b68fe4c819d399aad1b30d745e0 /tools/perf/scripts/python | |
| parent | 7a3c56773e7b15d86ae1179df87b219c864b5f68 (diff) | |
mmc: dw_mmc: fix 32bit little-endian access of des1 field
The IDMAC_SET_BUFFER1_SIZE() macro modifies des1, but does
not check if the value being passed is big or little endian
desptire the des1 field being marked as __le32.
Fix the issue by ensuring the values are changed from the
cpu endian to the descriptor endian by using cpu_to_le32.
Spotted whilst doing big endian conversion work on Exynos,
and stops the mmc worker thread from stalling.
Signed-off-by: Ben Dooks <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Tested-by: Shawn Lin <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions