diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-05-07 10:56:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 10:28:26 -0700 |
commit | 8b9df249dd60380b2347585038e643677715f591 (patch) | |
tree | d15e39ba3c516ea0effb509b7357624d6844372f /net/lapb/lapb_subr.c | |
parent | 2591d624cdfe6e24b0cb4f1da4845ba6a1dbe473 (diff) |
dmaengine: dw: went back to plain {request,free}_irq() calls
commit 97977f7576a89cb9436c000ae703c0d515e748ac upstream.
The commit dbde5c29 "dw_dmac: use devm_* functions to simplify code" turns
probe function to use devm_* helpers and simultaneously brings a regression. We
need to ensure irq is disabled, followed by ensuring that don't schedule any
more tasklets and then its safe to use tasklet_kill().
The free_irq() will ensure that the irq is disabled and also wait till all
scheduled interrupts are executed by invoking synchronize_irq(). So we need to
only do tasklet_kill() after invoking free_irq().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions