diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-11-21 12:09:47 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 11:26:27 +0100 |
commit | 1f281792f649fc40054fc9146d8aa6b8b3c2aaff (patch) | |
tree | f16f04d16f3c6105490fef741052cb1863ab7407 /drivers/dma/img-mdc-dma.c | |
parent | dmaengine: fsl-edma: add PM suspend/resume support (diff) | |
download | linux-1f281792f649fc40054fc9146d8aa6b8b3c2aaff.tar.xz linux-1f281792f649fc40054fc9146d8aa6b8b3c2aaff.zip |
dmaengine: at_xdmac: Remove unnecessary synchronize_irq() before free_irq()
Calling synchronize_irq() right before free_irq() is quite useless. On one
hand the IRQ can easily fire again before free_irq() is entered, on the
other hand free_irq() itself calls synchronize_irq() internally (in a race
condition free way), before any state associated with the IRQ is freed.
Patch was generated using the following semantic patch:
// <smpl>
@@
expression irq;
@@
-synchronize_irq(irq);
free_irq(irq, ...);
// </smpl>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/img-mdc-dma.c')
0 files changed, 0 insertions, 0 deletions