[opensuse-kernel] built-in modules probe order problem
Hi, I am trying to fix the video output on the BeagleBoard xM (armv7) which is broken since a while. I am nearly done with the config update, but I have a last problem. The TFP410 (HDMI transmitter) has a power-down GPIO handled by another chip, the TWL4030 (module also built-in). The problem is that that TWL4030 is probed _after_ the TFP410 which results in: "tfp410 encoder0: failed to parse PD gpio". How could I probe TWL4030 _before_ the TFP410 (both modules built-in) ? Guillaume -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed, 13 Sep 2017 09:50:48 +0200, Guillaume Gardet wrote:
Hi,
I am trying to fix the video output on the BeagleBoard xM (armv7) which is broken since a while.
I am nearly done with the config update, but I have a last problem. The TFP410 (HDMI transmitter) has a power-down GPIO handled by another chip, the TWL4030 (module also built-in). The problem is that that TWL4030 is probed _after_ the TFP410 which results in: "tfp410 encoder0: failed to parse PD gpio".
How could I probe TWL4030 _before_ the TFP410 (both modules built-in) ?
In general the driver should handle the deferred probe if the dependency fails. The probe order of built-in drivers are more or less hard-coded. (If it's about modules, you can use softdep, though.) In anyway, you'd better to report it to upstream to fix the issue. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le 13/09/2017 à 09:56, Takashi Iwai a écrit :
Hi,
I am trying to fix the video output on the BeagleBoard xM (armv7) which is broken since a while.
I am nearly done with the config update, but I have a last problem. The TFP410 (HDMI transmitter) has a power-down GPIO handled by another chip, the TWL4030 (module also built-in). The problem is that that TWL4030 is probed _after_ the TFP410 which results in: "tfp410 encoder0: failed to parse PD gpio".
How could I probe TWL4030 _before_ the TFP410 (both modules built-in) ? In general the driver should handle the deferred probe if the dependency fails. The probe order of built-in drivers are more or less hard-coded. (If it's about modules, you can use softdep,
On Wed, 13 Sep 2017 09:50:48 +0200, Guillaume Gardet wrote: though.)
Indeed, deferred probe is not handled, it just fails. I will try to add it. Guillaume
In anyway, you'd better to report it to upstream to fix the issue.
Takashi
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Guillaume Gardet
-
Takashi Iwai