diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2010-05-14 09:14:26 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-25 00:17:51 -0600 |
commit | 0398fb70940e1f10939d6126eafb760bd48d1566 (patch) | |
tree | fabaaf8936b0e68ec058192cc155640672919694 /mm/percpu.c | |
parent | f9218c2a60facc6ff9a793a9d9ab956194d70012 (diff) | |
download | blackbird-op-linux-0398fb70940e1f10939d6126eafb760bd48d1566.tar.gz blackbird-op-linux-0398fb70940e1f10939d6126eafb760bd48d1566.zip |
spi/spi_mpc8xxx: Fix QE mode Litte Endian
QE mode uses Little Endian so words > 8 bits are byte swapped.
Workaround this by always enforcing wordsize 8 for words
> 8 bits. Unfortunately this will not work for LSB transfers
where wordsize is > 8 bits so disable these for now.
Also move the different quirks into its own function to keep
mpc8xxx_spi_setup_transfer() sane.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions