aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorSylvain Lesne <[email protected]>2017-09-18 11:08:00 +0000
committerVinod Koul <[email protected]>2017-09-28 07:41:46 +0000
commitd9ec46416de5ef83220f1c7010ee0f5d1be1d753 (patch)
tree3b0287ab57ed014e2eb4386dc653377578f8189a /lib/net_utils.c
parentdmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse (diff)
downloadkernel-d9ec46416de5ef83220f1c7010ee0f5d1be1d753.tar.gz
kernel-d9ec46416de5ef83220f1c7010ee0f5d1be1d753.zip
dmaengine: altera: fix response FIFO emptying
Commit 6084fc2ec478 ("dmaengine: altera: Use macros instead of structs to describe the registers") introduced a minus sign before a register offset. This leads to soft-locks of the DMA controller, since reading the last status byte is required to pop the response from the FIFO. Failing to do so will lead to a full FIFO, which means that the DMA controller will stop processing descriptors. Signed-off-by: Sylvain Lesne <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions