[PATCH 3/3] sound/soc ioremap/iounmap balancing

Previous thread: [PATCH 2/3] sound/pci ioremap/iounmap balancing by Scott Thompson on Wednesday, August 1, 2007 - 2:02 am. (2 messages)

Next thread: 2.6.23-rc1-mm2 by Andrew Morton on Wednesday, August 1, 2007 - 2:09 am. (96 messages)
To: <kernel-janitors@...>, <linux-kernel@...>, <linux-sound@...>
Date: Wednesday, August 1, 2007 - 2:06 am

ioremap / iounmap balancing in sound/soc tree

Signed-off-by: Scott Thompson <postfail <at> hushmail.com>
---
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c
b/sound/soc/s3c24xx/s3c24xx-i2s.c
index 39f0246..cd89c41 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);

--
Start providing for your family by becoming a paralegal. Click Now.
http://tagline.hushmail.com/fc/Ioyw6h4ek5ocrsblBGe95tDruAMchCwVmpqjJUiDS...

-

To: <postfail@...>, <kernel-janitors@...>, <linux-kernel@...>, <linux-sound@...>
Date: Wednesday, August 1, 2007 - 7:45 am

At Wed, 01 Aug 2007 02:06:06 -0400,

Applied to ALSA tree. Thanks.

-

Previous thread: [PATCH 2/3] sound/pci ioremap/iounmap balancing by Scott Thompson on Wednesday, August 1, 2007 - 2:02 am. (2 messages)

Next thread: 2.6.23-rc1-mm2 by Andrew Morton on Wednesday, August 1, 2007 - 2:09 am. (96 messages)