diff mbox

[2/2] dmaengine: s3c24xx: Fix typo

Message ID 1421180183-13246-2-git-send-email-maxime.ripard@free-electrons.com (mailing list archive)
State Accepted
Headers show

Commit Message

Maxime Ripard Jan. 13, 2015, 8:16 p.m. UTC
A typo has been introduced in the spin_unlock_irqrestore function. Fix it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 drivers/dma/s3c24xx-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
index 231f76acebde..4d5a84815ba7 100644
--- a/drivers/dma/s3c24xx-dma.c
+++ b/drivers/dma/s3c24xx-dma.c
@@ -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;
 }