Searched hist:f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | mxc_spi.c | eff536befd3efab538bba10bad07ecff63c9f470 Tue Feb 09 21:05:39 UTC 2010 Magnus Lilja <lilja.magnus@gmail.com> SPI: Fix 32 bit transfers in mxc_spi.c
Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f, "i.MX31: fix SPI driver for shorter than 32 bit" broke 32 bit transfers. This patch makes single 32 bit transfer work again.
Transfer lengths that are known not to work will abort and print an error message.
Tested on i.MX31 Litekit and i.MX31 PDK using 32 bit transfers to the MC13783/ATLAS chip (using the 'date' command).
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f Fri Feb 06 23:09:12 UTC 2009 Guennadi Liakhovetski <lg@denx.de> 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>
|