Skip to contentSkip to conversation

dpll: zl3073x: Fix output pin registration

PATCH Applied Ivan Vecera 2 participants 2 messages Oct 27, 2025 – Oct 29, 2025

Subsystems (4)
lore
Share & tools
lore

Ivan Vecera

author maintainer
#0 lore raw

PATCH 1/1 dpll: zl3073x: Fix output pin registration

Currently, the signal format of an associated output is not considered during output pin registration. As a result, the driver registers output pins that are disabled by the signal format configuration.

Fix this by calling zl3073x_output_pin_is_enabled() to check whether a given output pin should be registered or not.

Fixes 75a71ecc2412 ("dpll: zl3073x: Register DPLL devices and pins")
---
 drivers/dpll/zl3073x/dpll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dpll/zl3073x/dpll.c +1 -1
index 93dc93eec79e..f93f9a458324 100644
@@ -1904,7 +1904,7 @@ zl3073x_dpll_pin_is_registrable(struct zl3073x_dpll *zldpll,
 		}
 
 		is_diff = zl3073x_out_is_diff(zldev, out);
-		is_enabled = zl3073x_out_is_enabled(zldev, out);
+		is_enabled = zl3073x_output_pin_is_enabled(zldev, index);
 	}
 
 	/* Skip N-pin if the corresponding input/output is differential */
Signature · 1 line
2.51.0
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 27 Oct 2025 15:09:12 +0100 you wrote:

Currently, the signal format of an associated output is not considered during output pin registration. As a result, the driver registers output pins that are disabled by the signal format configuration.

Fix this by calling zl3073x_output_pin_is_enabled() to check whether a given output pin should be registered or not.

[...]

Here is the summary with links:
- [net] dpll: zl3073x: Fix output pin registration

    https://git.kernel.org/netdev/net/c/40c17a02de41

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html