[PATCH v1 0/2] spi: dw-mid: fix simplex DMA transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux