aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/mmp-sspa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/pxa/mmp-sspa.c')
-rw-r--r--sound/soc/pxa/mmp-sspa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index 41c3a09b53ea..9140c4abafbc 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -429,9 +429,9 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev)
429 if (res == NULL) 429 if (res == NULL)
430 return -ENOMEM; 430 return -ENOMEM;
431 431
432 priv->sspa->mmio_base = devm_request_and_ioremap(&pdev->dev, res); 432 priv->sspa->mmio_base = devm_ioremap_resource(&pdev->dev, res);
433 if (priv->sspa->mmio_base == NULL) 433 if (IS_ERR(priv->sspa->mmio_base))
434 return -ENODEV; 434 return PTR_ERR(priv->sspa->mmio_base);
435 435
436 priv->sspa->clk = devm_clk_get(&pdev->dev, NULL); 436 priv->sspa->clk = devm_clk_get(&pdev->dev, NULL);
437 if (IS_ERR(priv->sspa->clk)) 437 if (IS_ERR(priv->sspa->clk))