dmaengine: s3c24xx: Fix typo
[firefly-linux-kernel-4.4.55.git] / drivers / dma / s3c24xx-dma.c
index 231f76acebde593f2a047ed3c597b747a4543e26..4d5a84815ba7bdd63379c97b189ddd14f5003964 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;
 }