MLK-11915-04 ASoC: imx-cs42888: init asrc_np to avoid wild pointer and check return...
authorZidan Wang <zidan.wang@freescale.com>
Fri, 27 Nov 2015 03:12:30 +0000 (11:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:18 +0000 (14:49 -0500)
commit5b9bda69186a642dfa08130121773a8ec0027512
treee019e7c45b6fd3416facf94fe95a99e2921eee2f
parent0e95eb127c57a6dc8cdc9a09aa08ecb659153466
MLK-11915-04 ASoC: imx-cs42888: init asrc_np to avoid wild pointer and check return value of set_fmt()

init asrc_np to avoid wild pointer and check return value of
set_fmt(). Reported by Coverity.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit 4ccc87a93e180e09b6494fd6c6d81b07dc054e9b)
sound/soc/fsl/imx-cs42888.c