From: Takashi Iwai Date: Tue, 7 Oct 2014 16:19:54 +0000 (+0200) Subject: ASoC: imx-es8328: Fix missing return code in imx_es8328_probe() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c4c99f32226321e152b1462a1884ff2dfd3b3e2;p=linux-beck.git ASoC: imx-es8328: Fix missing return code in imx_es8328_probe() An error code was forgotten to be passed in the error path of imx_es8328_probe(). Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-es8328.c b/sound/soc/fsl/imx-es8328.c index 653e66d150c8..9b8d11d04fbc 100644 --- a/sound/soc/fsl/imx-es8328.c +++ b/sound/soc/fsl/imx-es8328.c @@ -104,6 +104,7 @@ static int imx_es8328_probe(struct platform_device *pdev) if (ext_port > MUX_PORT_MAX || ext_port == 0) { dev_err(dev, "mux-ext-port: hardware only has %d mux ports\n", MUX_PORT_MAX); + ret = -EINVAL; goto fail; }