MLK-16099-1: ASoc: fsl: fix crash issue when no dsp core lib
authorWeiguang Kong <weiguang.kong@nxp.com>
Fri, 28 Jul 2017 08:42:32 +0000 (16:42 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:12 +0000 (15:36 -0500)
commit59465bdf8794461455f27f385a706e85cf68d353
tree6f868d555c2e2391d22b45960c1ba4d6a5109489
parentc255c05a44fa4a602aff38bdaaabec4ac0d1db4d
MLK-16099-1: ASoc: fsl: fix crash issue when no dsp core lib

When dsp driver can't find the dsp core lib in loading codec
process, the kernel will be crashed. This issue is caused
by unreasonable way of error handling.

By changing the way of error handling to fix this issue.

Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com>
sound/soc/fsl/fsl_hifi4.c