aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-04-19 18:49:09 +0200
committerVinod Koul <vkoul@kernel.org>2020-04-23 12:44:30 +0530
commit0c89446379218698189a47871336cb30286a7197 (patch)
treef6cd6a2abe86a49361824b07ee1ff646a1054d87 /include/linux/dmaengine.h
parentdmaengine: mmp_tdma: Do not ignore slave config validation errors (diff)
downloadwireguard-linux-0c89446379218698189a47871336cb30286a7197.tar.xz
wireguard-linux-0c89446379218698189a47871336cb30286a7197.zip
dmaengine: mmp_tdma: Reset channel error on release
When a channel configuration fails, the status of the channel is set to DEV_ERROR so that an attempt to submit it fails. However, this status sticks until the heat end of the universe, making it impossible to recover from the error. Let's reset it when the channel is released so that further use of the channel with correct configuration is not impacted. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200419164912.670973-5-lkundrak@v3.sk Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/dmaengine.h')
0 files changed, 0 insertions, 0 deletions