summaryrefslogtreecommitdiffstats
path: root/Documentation/sparc
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2008-07-28 15:46:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-28 16:30:21 -0700
commit9a7867e1b34c3575e7e76a05c0c54c6edbdae2a4 (patch)
treefb4df3c93ed711ae22dcd82320133af86bf42568 /Documentation/sparc
parent78a34ae29bf1c9df62a5bd0f0798b6c62a54d520 (diff)
downloadkernel-crypto-9a7867e1b34c3575e7e76a05c0c54c6edbdae2a4.tar.gz
kernel-crypto-9a7867e1b34c3575e7e76a05c0c54c6edbdae2a4.tar.xz
kernel-crypto-9a7867e1b34c3575e7e76a05c0c54c6edbdae2a4.zip
mpc52xx_psc_spi: fix block transfer
The block transfer routine in the mpc52xx psc spi driver misinterpret the datasheet. According to the processor datasheet the chipselect is held as long as the EOF is not written. Theoretically blocks of any sizes can be transferred in this way. The old routine however writes an EOF after every word, which has the size of size_of_word. This makes the transfer slow. Also fixed some duplicate code. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: <stable@kernel.org> [2.6.25.x, 2.6.26.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sparc')
0 files changed, 0 insertions, 0 deletions