]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'asoc/fix/wm0010' into asoc-linus
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 14 May 2013 12:53:21 +0000 (16:53 +0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 14 May 2013 12:53:21 +0000 (16:53 +0400)
sound/soc/codecs/wm0010.c

index 8df2b6e1a1a6c7fa74cb6cb0b8f94afced8efc2e..370af0cbcc9a97393c695a55936fb22b6ec6e103 100644 (file)
@@ -667,6 +667,7 @@ static int wm0010_boot(struct snd_soc_codec *codec)
                /* On wm0010 only the CLKCTRL1 value is used */
                pll_rec.clkctrl1 = wm0010->pll_clkctrl1;
 
+               ret = -ENOMEM;
                len = pll_rec.length + 8;
                out = kzalloc(len, GFP_KERNEL);
                if (!out) {