Matthias Fuchs 2638b50b18 mx28: fix i.MX28 spi driver
The generic spi flash driver (drivers/mtd/spi/spi_flash.c) uses the
spi low level driver's spi_xfer() function with len=0 to deassert the
SPI flash' chip select. But the i.MX28 spi driver rejects this call
due to len=0.

This patch implements an exception for len=0 with the SPI_XFER_END
flag set. This results in an extra read with the chip select being
deasserted afterwards. There seems to be no way to deassert the signal
by hand.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-02-12 10:11:27 +01:00
..
2011-02-08 08:29:53 -05:00
2011-07-25 23:40:11 +02:00
2011-07-25 23:40:11 +02:00
2010-04-21 23:42:38 +02:00
2012-02-12 10:11:27 +01:00
2010-12-11 11:01:00 -05:00
2010-12-11 11:01:00 -05:00