Re: [PATCH-v2.6.39] spi/omap_mcspi: Fix broken last word xfer

2011-03-23 Thread Grant Likely
On Mon, Mar 21, 2011 at 04:27:30PM +0200, Jarkko Nikula wrote: > Commit adef658 "spi/omap_mcspi: catch xfers of non-multiple SPI word size" > broke the transmission of last word in cases where access is multiple of > word size and word size is 16 or 32 bits. > > Fix this by replacing the test "c >

Re: [PATCH-v2.6.39] spi/omap_mcspi: Fix broken last word xfer

2011-03-22 Thread Michael Jones
On 03/21/2011 03:27 PM, Jarkko Nikula wrote: > Commit adef658 "spi/omap_mcspi: catch xfers of non-multiple SPI word size" > broke the transmission of last word in cases where access is multiple of > word size and word size is 16 or 32 bits. > > Fix this by replacing the test "c > (word_len>>3)" in

Re: [PATCH-v2.6.39] spi/omap_mcspi: Fix broken last word xfer

2011-03-22 Thread Poddar, Sourav
On Mon, Mar 21, 2011 at 7:57 PM, Jarkko Nikula wrote: > Commit adef658 "spi/omap_mcspi: catch xfers of non-multiple SPI word size" > broke the transmission of last word in cases where access is multiple of > word size and word size is 16 or 32 bits. > > Fix this by replacing the test "c > (word_le

[PATCH-v2.6.39] spi/omap_mcspi: Fix broken last word xfer

2011-03-21 Thread Jarkko Nikula
Commit adef658 "spi/omap_mcspi: catch xfers of non-multiple SPI word size" broke the transmission of last word in cases where access is multiple of word size and word size is 16 or 32 bits. Fix this by replacing the test "c > (word_len>>3)" in do-while loops with "c >= 'pointer increment size'". T