diff options
| author | Jagan Teki <[email protected]> | 2019-07-22 17:22:57 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-09-16 08:09:22 +0530 |
| commit | 43084a56b08b34a4daef36697dd715659a17caf9 (patch) | |
| tree | 9031f2920bc498d07e6eb151a55628045700c35c /include/linux | |
| parent | 8473b32127232d8b602d905a2ed26ed48d352f6e (diff) | |
mtd: spi_dataflash: Use spi read then write
Now, we have spi_write_then_read routine that would handle
spi_xfer handling based on the tx_buf and rx_buf parameters.
So, replace individual flash read/write/cmd transfer call
with spi_write_then_read.
Cc: Egnite GmbH <[email protected]>
Cc: Daniel Gorsulowski <[email protected]>
Cc: Ilko Iliev <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Mateusz Kulikowski <[email protected]>
Cc: Alison Wang <[email protected]>
Tested-by: Adam Ford <[email protected]> #da850-evm
Signed-off-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
