spi/omap_mcspi: catch xfers of non-multiple SPI word size
authorMichael Jones <michael.jones@matrix-vision.de>
Fri, 25 Feb 2011 15:55:11 +0000 (16:55 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 5 Mar 2011 05:23:26 +0000 (22:23 -0700)
If an SPI access was not a multiple of the SPI word size,
the while() loop would spin and the rx/tx ptrs would be incremented
indefinitely.

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found