summaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorDamien.Horsley <Damien.Horsley@imgtec.com>2015-12-10 16:07:23 +0100
committerVinod Koul <vinod.koul@intel.com>2015-12-18 06:42:29 +0100
commit0c328de77148ddccaa7a2c31f5751e4d443c213b (patch)
tree9f44db2ab2fd46006f971b7c88a13cdbd24e7227 /crypto/api.c
parentdmaengine: edma: Add probe callback to edma_tptc_driver (diff)
downloadlinux-0c328de77148ddccaa7a2c31f5751e4d443c213b.tar.xz
linux-0c328de77148ddccaa7a2c31f5751e4d443c213b.zip
dmaengine: mdc: Correct terminate_all handling
Use of the CANCEL bit in mdc_terminate_all creates an additional 'command done' to appear in the registers (in addition to an interrupt). In addition, there is a potential race between mdc_terminate_all and the irq handler if a transfer completes at the same time as the terminate all (presently this results in an inappropriate warning). To handle these issues, any outstanding 'command done' events are cleared during mdc_terminate_all and the irq handler takes no action when there are no new 'command done' events. Signed-off-by: Damien.Horsley <Damien.Horsley@imgtec.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions