]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Release firmware on error
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 21 Jan 2013 09:02:31 +0000 (09:02 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 22 Jan 2013 07:40:26 +0000 (16:40 +0900)
commit7641633b8973f0ede260abd5679a0b8cb8ecc215
tree3f7af336f1102dfcc032eeb1d419ca846583ee22
parent8ed6843886fd40b6c40f49533f3083c5e7eeb492
ASoC: wm_adsp: Release firmware on error

This patch correctly releases the firmware if the magic string in the
firmware header does not match.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c