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:27:21 +0000 (16:27 +0900)
commitf63d944b71e8c4df9daaf44c7a9756549735140c
treef008e99032b1cde0d5e4dae93cd5c8967c6cdaee
parentb59e0f82aa350e380142353fbd30706092ba6312
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