Re: [PATCH] media: rockchip: rga: Fix probe rga_parse_dt bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/14/22 23:12, Peter Geis wrote:
         ret = rga_parse_dt(rga);
-       if (ret)
+       if (ret) {
                 dev_err(&pdev->dev, "Unable to parse OF data\n");
If this can return EPROBE_DEFER, shouldn't this be dev_err_probe
instead of dev_err?


Looking into it that does make more sense. I suspect it wasn't done this way originally because dev_err_probe isn't used elsewhere in rga.c. I'll send a v2 with that change shortly.


Thanks for the review.




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux