diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-07 18:19:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-07 19:10:32 +0200 |
commit | 5c4c99f32226321e152b1462a1884ff2dfd3b3e2 (patch) | |
tree | e98587bff0300f91437ec82eeade760e811ed35e /sound | |
parent | Merge remote-tracking branches 'asoc/topic/txx9', 'asoc/topic/wm8978' and 'as... (diff) | |
download | linux-5c4c99f32226321e152b1462a1884ff2dfd3b3e2.tar.xz linux-5c4c99f32226321e152b1462a1884ff2dfd3b3e2.zip |
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 <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-es8328.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |