dmaengine: s3c24xx: Fix typo
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 13 Jan 2015 20:16:23 +0000 (21:16 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sun, 18 Jan 2015 14:31:15 +0000 (20:01 +0530)
A typo has been introduced in the spin_unlock_irqrestore function. Fix it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/s3c24xx-dma.c

index 231f76a..4d5a848 100644 (file)
@@ -406,7 +406,7 @@ static int s3c24xx_dma_set_runtime_config(struct dma_chan *chan,
        s3cchan->cfg = *config;
 
 out:
-       spin_lock_irqrestore(&s3cchan->vc.lock, flags);
+       spin_unlock_irqrestore(&s3cchan->vc.lock, flags);
        return ret;
 }