pwm: pwm-omap-dmtimer: fails with Unable to find Timer pdev

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

 



Hello,

I just tried to update an am3352 board to kernel 5.15 (before I used
5.10) but I'm not able to get omap-dmtimer-pwm to probe anymore. The
driver fails with the following errors:
[    1.238511] omap-dmtimer-pwm omap-pwm@timer5: Unable to find Timer pdev
[    1.238590] omap-dmtimer-pwm omap-pwm@timer6: Unable to find Timer pdev

Patching the driver like this
        timer_pdev = of_find_device_by_node(timer);
       if (!timer_pdev) {
               dev_err(&pdev->dev, "Unable to find Timer pdev\n");
-               ret = -ENODEV;
+               ret = -EPROBE_DEFER;
               goto err_find_timer_pdev;
       }
solves the problem but I'm not sure if this is the right way.

I tried to find out when this problem started and found out that the
last working version is 5.10.x. As of 5.11 it no longer works.

Thanks,
Hannes



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux