File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -670,22 +670,21 @@ static void tegra_dma_tasklet(unsigned long data)
670
670
static irqreturn_t tegra_dma_isr (int irq , void * dev_id )
671
671
{
672
672
struct tegra_dma_channel * tdc = dev_id ;
673
- unsigned long flags ;
674
673
u32 status ;
675
674
676
- spin_lock_irqsave (& tdc -> lock , flags );
675
+ spin_lock (& tdc -> lock );
677
676
678
677
trace_tegra_dma_isr (& tdc -> dma_chan , irq );
679
678
status = tdc_read (tdc , TEGRA_APBDMA_CHAN_STATUS );
680
679
if (status & TEGRA_APBDMA_STATUS_ISE_EOC ) {
681
680
tdc_write (tdc , TEGRA_APBDMA_CHAN_STATUS , status );
682
681
tdc -> isr_handler (tdc , false);
683
682
tasklet_schedule (& tdc -> tasklet );
684
- spin_unlock_irqrestore (& tdc -> lock , flags );
683
+ spin_unlock (& tdc -> lock );
685
684
return IRQ_HANDLED ;
686
685
}
687
686
688
- spin_unlock_irqrestore (& tdc -> lock , flags );
687
+ spin_unlock (& tdc -> lock );
689
688
dev_info (tdc2dev (tdc ), "Interrupt already served status 0x%08x\n" ,
690
689
status );
691
690
You can’t perform that action at this time.
0 commit comments