diff options
Diffstat (limited to 'sound/soc/fsl/imx-audmux.c')
-rw-r--r-- | sound/soc/fsl/imx-audmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index fab912ea7a50..3f333e5b4673 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c | |||
@@ -252,9 +252,9 @@ static int imx_audmux_probe(struct platform_device *pdev) | |||
252 | of_match_device(imx_audmux_dt_ids, &pdev->dev); | 252 | of_match_device(imx_audmux_dt_ids, &pdev->dev); |
253 | 253 | ||
254 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 254 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
255 | audmux_base = devm_request_and_ioremap(&pdev->dev, res); | 255 | audmux_base = devm_ioremap_resource(&pdev->dev, res); |
256 | if (!audmux_base) | 256 | if (IS_ERR(audmux_base)) |
257 | return -EADDRNOTAVAIL; | 257 | return PTR_ERR(audmux_base); |
258 | 258 | ||
259 | pinctrl = devm_pinctrl_get_select_default(&pdev->dev); | 259 | pinctrl = devm_pinctrl_get_select_default(&pdev->dev); |
260 | if (IS_ERR(pinctrl)) { | 260 | if (IS_ERR(pinctrl)) { |