[ALSA] sound/soc ioremap/iounmap balancing
authorScott Thompson <postfail@hushmail.com>
Wed, 1 Aug 2007 11:38:59 +0000 (13:38 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:21 +0000 (15:58 +0200)
ioremap / iounmap balancing in sound/soc tree

Signed-off-by: Scott Thompson <postfail <at> hushmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/s3c24xx/s3c24xx-i2s.c

index 39f02462e07d8797671869b482a7ad654e9c40f8..cd89c4105fcdc206615bf670db3445142d1fd3ff 100644 (file)
@@ -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);