diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-02-19 08:35:01 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-19 08:35:01 -0700 |
commit | b781e0ccdc0c9a931571d15db09d45b7258b9905 (patch) | |
tree | 7852f5d2659bdc8ff38078a7d10763fa84185adf | |
parent | d7895b0dc826cc23bcebcd6fdfa2f06b04538dbc (diff) |
apple-mca: correct prinktsm1/2022-02-19
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | sound/soc/apple/mca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/apple/mca.c b/sound/soc/apple/mca.c index 6e38d1637780..442434ca3a88 100644 --- a/sound/soc/apple/mca.c +++ b/sound/soc/apple/mca.c @@ -914,7 +914,7 @@ static int apple_mca_probe(struct platform_device *pdev) mca->clk_parents[i] = clk; if (IS_ERR(clk)) { - dev_err(&pdev->dev, "unable to obtain clock %s: %d\n", + dev_err(&pdev->dev, "unable to obtain clock %s: %ld\n", name, PTR_ERR(clk)); ret = PTR_ERR(clk); goto err_release_chans_clocks; @@ -948,8 +948,8 @@ static int apple_mca_probe(struct platform_device *pdev) chan = of_dma_request_slave_channel(pdev->dev.of_node, name); if (IS_ERR(chan)) { if (PTR_ERR(chan) != -EPROBE_DEFER) - dev_err(&pdev->dev, "no %s DMA channel: %d\n", - name, route->of_node, PTR_ERR(chan)); + dev_err(&pdev->dev, "no %s DMA channel: %ld\n", + name, PTR_ERR(chan)); ret = PTR_ERR(chan); goto err_release_chans_clocks; |