spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO
authorRichard Genoud <richard.genoud@gmail.com>
Thu, 2 May 2013 11:25:11 +0000 (19:25 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 May 2013 13:40:45 +0000 (14:40 +0100)
commitf557c98b168a2860bfc7dedf4b4e3bafb59dc267
treed507a886d34d68fc19f6ba3496cc4f90835c54b1
parentcd8d984f0def2a8c5733a9468634ec3e0feec03d
spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO

Fix using PIO transfer mode only support 8 bits transfer, doesn't support 16 bits.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
[wenyou.yang@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-atmel.c