From: Joakim Tjernlund Date: Fri, 14 May 2010 09:14:26 +0000 (+0000) Subject: spi/spi_mpc8xxx: Fix QE mode Litte Endian X-Git-Tag: v2.6.35-rc1~266^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0398fb70940e1f10939d6126eafb760bd48d1566;p=pandora-kernel.git 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 Acked-by: Anton Vorontsov Signed-off-by: Grant Likely --- Reading git-diff-tree failed