Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/fix/adsp' into asoc-next
Browse files Browse the repository at this point in the history
  • Loading branch information
broonie committed Mar 26, 2013
2 parents 8bb9660 + f4b8281 commit 86b1f67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sound/soc/codecs/wm_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,8 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
&buf_list);
if (!buf) {
adsp_err(dsp, "Out of memory\n");
return -ENOMEM;
ret = -ENOMEM;
goto out_fw;
}

adsp_dbg(dsp, "%s.%d: Writing %d bytes at %x\n",
Expand Down Expand Up @@ -865,7 +866,7 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
wm_adsp_buf_free(&buf_list);
out:
kfree(file);
return 0;
return ret;
}

int wm_adsp1_init(struct wm_adsp *adsp)
Expand Down

0 comments on commit 86b1f67

Please sign in to comment.