Skip to content

Commit

Permalink
ASoC: imx-es8328: Fix missing return code in imx_es8328_probe()
Browse files Browse the repository at this point in the history
An error code was forgotten to be passed in the error path of
imx_es8328_probe().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Takashi Iwai authored and Mark Brown committed Oct 7, 2014
1 parent a5448c8 commit 5c4c99f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/fsl/imx-es8328.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5c4c99f

Please sign in to comment.