summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCássio Gabriel <cassiogabrielcontato@gmail.com>2026-06-12 00:43:55 -0300
committerTakashi Iwai <tiwai@suse.de>2026-06-12 11:07:34 +0200
commite76296d137944be2e9f25abef9514aca98b4ca79 (patch)
treecc7120b434f2235c4bf7e06a9e68f81c8c8f410b /include/linux
parent2773023abb381e36ce02d364022d901f6f7a416d (diff)
ALSA: pcxhr: Share PLL frequency register calculation
The PCXHR and HR222 clock paths duplicate the PLL divider calculation and register encoding. The HR222 variant extends the same format with an additional range for rates above those supported by the older boards. Move the complete encoding into pcxhr_pll_freq_register() and pass each hardware path its existing maximum frequency. The additional encoding branch is unreachable with the older 110 kHz limit, so this preserves both paths' accepted ranges and generated register values while removing the duplicate implementation and its long-standing TODO. Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com> Link: https://patch.msgid.link/20260612-alsa-pcxhr-pll-helper-v1-1-c84ae2bd2e9b@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions