]> git.sur5r.net Git - u-boot/commit
spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers
authorTimo Herbrecher <t.herbrecher@gateware.de>
Tue, 15 Oct 2013 18:35:09 +0000 (00:05 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 15 Oct 2013 18:44:30 +0000 (00:14 +0530)
commit6d5ce1bd0048617d48c05de1a84fae8696081127
tree1cb215f143ee4b67a25145121d75e16b135bd993
parent21497ded5d14be17085c1069701097372856d360
spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers

If dout buffer is not 32 bit-aligned or data to transmit is not multiple
of 32 bit the read data pointer is already incremented on single byte reads.

Signed-off-by: Timo Herbrecher <t.herbrecher@gateware.de>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/spi/mxc_spi.c