spi: dw-mid: fix simplex DMA transfers
Get series with b4
b4 am 1414513502-595-1-git-send-email-andriy.shevchenko@linux.intel.comVersions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | spi: dw-mid: refactor to use helpersdrivers/ | +48 | 0 replies | |
| 2/2 | spi: dw-mid: split rx and tx callbacks when DMAdrivers/ drivers/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] spi: dw-mid: fix simplex DMA transfers
In current shape the driver relies on both TX and RX transfers when DMA is enabled. In case of simplex transfer the driver will stuck, since call back function will never achieve the proper condition to finish the transfer.
This patchset fixes the potential issue.
Andy Shevchenko (2):
spi: dw-mid: refactor to use helpers
spi: dw-mid: split rx and tx callbacks when DMA
drivers/spi/spi-dw-mid.c | 114 ++++++++++++++++++++++++++++++++++------------- drivers/spi/spi-dw.h | 2 +- 2 files changed, 84 insertions(+), 32 deletions(-)
Signature · 6 lines
2.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html