projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5448c8
)
ASoC: imx-es8328: Fix missing return code in imx_es8328_probe()
author
Takashi Iwai
<tiwai@suse.de>
Tue, 7 Oct 2014 16:19:54 +0000
(18:19 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 7 Oct 2014 17:10:32 +0000
(18:10 +0100)
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>
sound/soc/fsl/imx-es8328.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/imx-es8328.c
b/sound/soc/fsl/imx-es8328.c
index 653e66d150c8a23adb790e64c8d6a106f2683198..9b8d11d04fbc37015a28d2101e11399cc5bf0a9f 100644
(file)
--- 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;
}