From 5620f32442d35f284d78e9580fdeedc93efb1b21 Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Mon, 21 Jan 2013 09:02:31 +0000 Subject: [PATCH] --- yaml --- r: 349381 b: refs/heads/master c: a4cdbec758d2491a86ba94263b847768fa004fde h: refs/heads/master i: 349379: 7332c1ce53214f9130505dcb29f1f4e1acf4a0f1 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm_adsp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cf00fe48e08a..8159b1a5b92d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7881fd0fb3ecc9e367ba998a4de533e7eecbdfeb +refs/heads/master: a4cdbec758d2491a86ba94263b847768fa004fde diff --git a/trunk/sound/soc/codecs/wm_adsp.c b/trunk/sound/soc/codecs/wm_adsp.c index 4196f2d54967..b6b654837585 100644 --- a/trunk/sound/soc/codecs/wm_adsp.c +++ b/trunk/sound/soc/codecs/wm_adsp.c @@ -396,7 +396,7 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp) hdr = (void*)&firmware->data[0]; if (memcmp(hdr->magic, "WMDR", 4) != 0) { adsp_err(dsp, "%s: invalid magic\n", file); - return -EINVAL; + goto out_fw; } adsp_dbg(dsp, "%s: v%d.%d.%d\n", file,