Commit graph

2 commits

Author SHA1 Message Date
Zidan Wang 69c57711d9 MLK-11915-01 ASoC: imx-wm8960: check return value and init codec_np to avoid wild pointer
check return value for set_fmt and set_sysclk function, and init
codec_np to avoid wild pointer. Reported by coverity.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit 68021ab9ada4a7f3037993a3887453e12271d4ed)
2018-10-29 11:10:38 +08:00
Zidan Wang 9c3b70e3d4 MLK-11369-1 ASoC: imx-wm8960: port wm8960 machine driver from imx_3.14.y branch
port wm8960 machine driver from imx_3.14.y branch

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>

Fix build for DRIVER_ATTR removal during 4.14 rebase

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
2018-10-29 11:10:38 +08:00