diff options
| -rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index a9798aa1cd8d..e93dc0dfb0d9 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c | |||
| @@ -1113,10 +1113,8 @@ static int fsl_spdif_probe(struct platform_device *pdev) | |||
| 1113 | } | 1113 | } |
| 1114 | 1114 | ||
| 1115 | regs = devm_ioremap_resource(&pdev->dev, res); | 1115 | regs = devm_ioremap_resource(&pdev->dev, res); |
| 1116 | if (IS_ERR(regs)) { | 1116 | if (IS_ERR(regs)) |
| 1117 | dev_err(&pdev->dev, "could not map device resources\n"); | ||
| 1118 | return PTR_ERR(regs); | 1117 | return PTR_ERR(regs); |
| 1119 | } | ||
| 1120 | 1118 | ||
| 1121 | spdif_priv->regmap = devm_regmap_init_mmio_clk(&pdev->dev, | 1119 | spdif_priv->regmap = devm_regmap_init_mmio_clk(&pdev->dev, |
| 1122 | "core", regs, &fsl_spdif_regmap_config); | 1120 | "core", regs, &fsl_spdif_regmap_config); |
