
17 Jul
2019
17 Jul
'19
6:10 a.m.
Hi Peng,
On Wed, Jul 17, 2019 at 9:34 AM Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Jul 17, 2019 at 9:20 AM Anup Patel Anup.Patel@wdc.com wrote:
Most DM based SPI host controller drivers use SPI_XFER_BEGIN and SPI_XFER_END flags to enable/disable slave chip select.
This patch extends MMC SPI driver to pass SPI_XFER_BEGIN flag when MMC command is send at start and pass SPI_XFER_END flag using a dummy transfer (of bitlen = 0) at the end of MMC command.
Suggested-by: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Anup Patel anup.patel@wdc.com
Reviewed-by: Jagan Teki jagan@amarulasolutions.com
Would like to pick this via spi tree, let me know if it fine for you?