dmaengine: s3c24xx: missing unlock on an error path
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 30 Jan 2015 08:29:33 +0000 (11:29 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Feb 2015 01:52:42 +0000 (17:52 -0800)
commit3028718fd06bb931868a1a8068eab7396a7a622a
tree9f4ed3aee6d6296f24a6172fca6fc892e09b8954
parent68a8cc9e9e57abcf2b4f40fb54fb8fb3c7f0462e
dmaengine: s3c24xx: missing unlock on an error path

We should unlock here before returning -EINVAL.

Fixes: 39ad46009654 ('dmaengine: s3c24xx: Split device_control')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/s3c24xx-dma.c