diff options
| author | Anup Patel <[email protected]> | 2019-07-17 04:23:38 +0000 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-07-18 17:11:16 +0530 |
| commit | a706029410228dbe43345b1dce0ee6a002a63c8b (patch) | |
| tree | 2f840a58cc836771b1db4ea7acce478bb30a4545 /include/phy_interface.h | |
| parent | 733391e84bd9d67582b2ecd719b35585b70fe74c (diff) | |
mmc: mmc_spi: Use SPI_XFER_BEGIN and SPI_XFER_END flags
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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Tested-by: Sagar Kadam <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/phy_interface.h')
0 files changed, 0 insertions, 0 deletions
