summaryrefslogtreecommitdiffstats
path: root/drivers/dma
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 15:31:15 +0100
commit848e10bb521eca333f4f912cf70efbd5b0f73c32 (patch)
tree796d6c71622ae9e57a3f20963e2dbe90a0d37bfc /drivers/dma
parentdmaengine: sa11x0: Fix warning and compilation errors (diff)
downloadlinux-848e10bb521eca333f4f912cf70efbd5b0f73c32.tar.xz
linux-848e10bb521eca333f4f912cf70efbd5b0f73c32.zip
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>
Diffstat (limited to 'drivers/dma')
-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;
}