ASoC: msm: Handle error scenarios correctly

In cases where workqueue allocation or device tree
parsing failed, we should return from the function
after freeing up all the resources.

CRs-fixed: 518093
Change-Id: Iaf341aeee218d3e32d79feba453cd4f36a52a012
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
1 file changed