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:
9f19de6
)
ASoC: imx-audmux: default configuration parser fixups
author
Markus Pargmann
<mpa@pengutronix.de>
Sat, 10 Aug 2013 12:55:57 +0000
(14:55 +0200)
committer
Mark Brown
<broonie@linaro.org>
Sun, 11 Aug 2013 10:59:27 +0000
(11:59 +0100)
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-audmux.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/imx-audmux.c
b/sound/soc/fsl/imx-audmux.c
index 103d1b02049632d6d6c98e20fd21f4c49124c77d..ab17381cc9812a7e0538f30ea44496bfdd944c6d 100644
(file)
--- a/
sound/soc/fsl/imx-audmux.c
+++ b/
sound/soc/fsl/imx-audmux.c
@@
-278,7
+278,7
@@
static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,
}
for (i = 0; (ret = of_property_read_u32_index(child,
- "fsl,port-config
\n
", i, &val)) == 0;
+ "fsl,port-config", i, &val)) == 0;
++i) {
if (audmux_type == IMX31_AUDMUX) {
if (i % 2)
@@
-290,7
+290,7
@@
static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,
}
}
- if (ret != -E
NODATA
) {
+ if (ret != -E
OVERFLOW
) {
dev_err(&pdev->dev, "Failed to read u32 at index %d of child %s\n",
i, child->full_name);
continue;