diff options
author | Angelo Dureghello <[email protected]> | 2020-05-29 21:57:56 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-29 23:43:15 +0100 |
commit | 263b81dc6c932c8bc550d5e7bfc178d2b3fc491e (patch) | |
tree | 48b3f41e2182984b3d18000286b020d1732c142c /scripts/gdb/linux/dmesg.py | |
parent | 164c05f03ffabe36564cb8959c1fad7c56f294dd (diff) |
spi: spi-fsl-dspi: fix native data copy
ColdFire is a big-endian cpu with a big-endian dspi hw module,
so, it uses native access, but memcpy breaks the endianness.
So, if i understand properly, by native copy we would mean
be(cpu)->be(dspi) or le(cpu)->le(dspi) accesses, so my fix
shouldn't break anything, but i couldn't test it on LS family,
so every test is really appreciated.
Fixes: 53fadb4d90c7 ("spi: spi-fsl-dspi: Simplify bytes_per_word gymnastics")
Signed-off-by: Angelo Dureghello <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions