Re: [PATCH v2 0/3] Make fw_devlink=on more forgiving

From
Martin Kaiser <hidden>
Date
2021-02-03 22:04:34
Also in
linux-acpi, lkml
Reply to
Geert Uytterhoeven, 2021-02-03
Thus wrote Geert Uytterhoeven (geert@linux-m68k.org):
quoted
The property you are using is not a standard GPIO binding (-gpios,
gpio, gpios) and I'm not surprised it's not working. The gpio1 is
probably getting probe deferred and ends up running after "my_driver".
So my_driver doesn't support deferred probe,
I know that the gpio definition in the device-tree is non-standard (and
should have been done differently).

Apart from this, the driver uses module_platform_driver_probe. My
understanding is that this prevents probe deferral.

Does this mean that from now on, a driver which requests a gpio must not
use module_platform_driver_probe?

Thanks,
Martin
Thread (22 messages) 22 messages, 6 authors, last reply 2021-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help