i.MX31: fix SPI driver for shorter than 32 bit
authorGuennadi Liakhovetski <lg@denx.de>
Fri, 6 Feb 2009 23:09:12 +0000 (00:09 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 24 Feb 2009 08:39:44 +0000 (09:39 +0100)
commitf9b6a1575d9f1ca192e4cb60e547aa66f08baa3f
tree071f07007676225c3abaa2f3b3d84bde49aad846
parentbd76729bcbfd64b5d016a9b936f058931fc06eaf
i.MX31: fix SPI driver for shorter than 32 bit

Fix setting the SPI Control register, 8 and 16-bit transfers
and a wrong pointer in the free routine in the mxc_spi driver.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/spi/mxc_spi.c