Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions sound/soc/codecs/wm_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,7 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
}

out_fw:
regmap_async_complete(regmap);
release_firmware(firmware);
wm_adsp_buf_free(&buf_list);
out:
Expand Down Expand Up @@ -3169,14 +3170,6 @@ int wm_adsp_stream_start2(struct wm_adsp *adsp)
adsp_dbg(adsp, "Set watermark to %u\n", adsp->capt_watermark2);

return 0;

out_fw:
regmap_async_complete(regmap);
release_firmware(firmware);
wm_adsp_buf_free(&buf_list);
out:
kfree(file);
return ret;
}
EXPORT_SYMBOL_GPL(wm_adsp_stream_start2);

Expand Down