diff options
| -rw-r--r-- | sound/soc/fsl/imx-audmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 103d1b020496..ab17381cc981 100644 --- 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, | |||
| 278 | } | 278 | } |
| 279 | 279 | ||
| 280 | for (i = 0; (ret = of_property_read_u32_index(child, | 280 | for (i = 0; (ret = of_property_read_u32_index(child, |
| 281 | "fsl,port-config\n", i, &val)) == 0; | 281 | "fsl,port-config", i, &val)) == 0; |
| 282 | ++i) { | 282 | ++i) { |
| 283 | if (audmux_type == IMX31_AUDMUX) { | 283 | if (audmux_type == IMX31_AUDMUX) { |
| 284 | if (i % 2) | 284 | if (i % 2) |
| @@ -290,7 +290,7 @@ static int imx_audmux_parse_dt_defaults(struct platform_device *pdev, | |||
| 290 | } | 290 | } |
| 291 | } | 291 | } |
| 292 | 292 | ||
| 293 | if (ret != -ENODATA) { | 293 | if (ret != -EOVERFLOW) { |
| 294 | dev_err(&pdev->dev, "Failed to read u32 at index %d of child %s\n", | 294 | dev_err(&pdev->dev, "Failed to read u32 at index %d of child %s\n", |
| 295 | i, child->full_name); | 295 | i, child->full_name); |
| 296 | continue; | 296 | continue; |
