diff options
| author | Ivan Vecera <ivecera@redhat.com> | 2026-03-15 20:42:24 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-18 05:05:12 +0300 |
| commit | acee049a6af2a7b4baabd28f16fb53628ea6e7a5 (patch) | |
| tree | 66b56e2d420508c79f2b33e73bac6c78fd3d8d55 /include/linux | |
| parent | f6b075bc3ad545d1c91e181c3f8ea6193d01602f (diff) | |
| download | linux-acee049a6af2a7b4baabd28f16fb53628ea6e7a5.tar.xz | |
dpll: zl3073x: drop selected and simplify connected ref getter
The HW reports the currently selected reference in the
dpll_refsel_status register regardless of the DPLL mode. Use this to
delete zl3073x_dpll_selected_ref_get() and have callers read the
register directly via the cached channel state.
Simplify zl3073x_dpll_connected_ref_get() to check refsel_state for
LOCK directly and return the reference index, changing the return
type from int to u8. The redundant ref_is_status_ok check is removed
since the DPLL cannot be in LOCK state with a failed reference.
In zl3073x_dpll_mode_set(), replace the selected_ref_get() call with
zl3073x_chan_refsel_ref_get() to read the currently selected
reference directly from the cached channel state.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20260315174224.399074-7-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
