MLK-10055-1: ASoC: imx-cs42888: when codec probe failed, alsa return RETRY error.
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 24 Dec 2014 08:08:45 +0000 (16:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:14 +0000 (14:48 -0500)
commit88358e3260f57896f8fd200610c5bd49c7cc64a2
tree71433878fde7f50f8d740e9d0301510b0b6ffb54
parenteef0c423c81b0857a0224edcb7204a9055b1931c
MLK-10055-1: ASoC: imx-cs42888: when codec probe failed, alsa return RETRY error.

If there is no codec device, the machine driver will not register the
card. then alsa will not return RETRY error. update the error handling
for machine driver.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 01ffd8e5e828d20214a196e64b981c9fd94c913e)
sound/soc/fsl/imx-cs42888.c