From 8642a4ba6462e25f709f8899e1b4fd5b8f5d93a4 Mon Sep 17 00:00:00 2001 From: Scott Thompson Date: Wed, 1 Aug 2007 13:38:59 +0200 Subject: [ALSA] sound/soc ioremap/iounmap balancing ioremap / iounmap balancing in sound/soc tree Signed-off-by: Scott Thompson hushmail.com> Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/soc/s3c24xx/s3c24xx-i2s.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc') diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c index 39f02462e07d..cd89c4105fcd 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.c +++ b/sound/soc/s3c24xx/s3c24xx-i2s.c @@ -385,6 +385,7 @@ static int s3c24xx_i2s_probe(struct platform_device *pdev) s3c24xx_i2s.iis_clk=clk_get(&pdev->dev, "iis"); if (s3c24xx_i2s.iis_clk == NULL) { DBG("failed to get iis_clock\n"); + iounmap(s3c24xx_i2s.regs); return -ENODEV; } clk_enable(s3c24xx_i2s.iis_clk); -- cgit v1.2.3-59-g8ed1b