apple-mca: correct prinkts m1/2022-02-19
authorJens Axboe <axboe@kernel.dk>
Sat, 19 Feb 2022 15:35:01 +0000 (08:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 19 Feb 2022 15:35:01 +0000 (08:35 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
sound/soc/apple/mca.c

index 6e38d1637780d9726351b3014d6414bd5596a7ae..442434ca3a88ad318b9b30be54a116a87ea26bf7 100644 (file)
@@ -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;