summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-13 21:16:23 +0100
committerVinod Koul <vinod.koul@intel.com>2015-01-18 20:01:15 +0530
commit848e10bb521eca333f4f912cf70efbd5b0f73c32 (patch)
tree796d6c71622ae9e57a3f20963e2dbe90a0d37bfc
parenta0a51a64f6a3e718e6d461f11d72d9ce41c706d6 (diff)
downloadlinux-848e10bb521eca333f4f912cf70efbd5b0f73c32.tar.bz2
dmaengine: s3c24xx: Fix typo
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>
-rw-r--r--drivers/dma/s3c24xx-dma.c2
1 files changed, 1 insertions, 1 deletions
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;
}