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)
commita4cdbec758d2491a86ba94263b847768fa004fde
tree3f7af336f1102dfcc032eeb1d419ca846583ee22
parent7881fd0fb3ecc9e367ba998a4de533e7eecbdfeb
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