diff options
author | Marc Ferland <ferlandm@amotus.ca> | 2020-11-04 12:30:04 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-11-09 17:54:22 +0530 |
commit | 0ba2df09f1500d3f27398a3382b86d39c3e6abe2 (patch) | |
tree | f28d7f912397b0bb47b95c01a8dd65bbbf705949 /usr | |
parent | 768664114b1ac9184f1dc6217d9c930a08ffbfa8 (diff) |
dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant
The xilinx_dma_poll_timeout macro is sometimes called while holding a
spinlock (see xilinx_dma_issue_pending() for an example) this means we
shouldn't sleep when polling the dma channel registers. To address it
in xilinx poll timeout macro use readl_poll_timeout_atomic instead of
readl_poll_timeout variant.
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1604473206-32573-2-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions