Commit c0787fcf authored by Alexander Tsoy's avatar Alexander Tsoy Committed by Takashi Iwai

Revert "ALSA: usb-audio: Skip setting clock selector for single connections"

This reverts commit 67794f88.

We need to explicitly set up the clock selector to workaround a problem
with the Behringer mixers. This was originally done in d2e8f641
("ALSA: usb-audio: Explicitly set up the clock selector")

The problem with MOTU M Series mentioned in commit message was fixed in
a different way by checking control capabilities of clock selectors.
Signed-off-by: default avatarAlexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20240128132338.819273-1-alexander@tsoy.meSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f0d78972
...@@ -344,7 +344,7 @@ static int __uac_clock_find_source(struct snd_usb_audio *chip, ...@@ -344,7 +344,7 @@ static int __uac_clock_find_source(struct snd_usb_audio *chip,
if (ret > 0) { if (ret > 0) {
/* Skip setting clock selector again for some devices */ /* Skip setting clock selector again for some devices */
if (chip->quirk_flags & QUIRK_FLAG_SKIP_CLOCK_SELECTOR || if (chip->quirk_flags & QUIRK_FLAG_SKIP_CLOCK_SELECTOR ||
pins == 1 || !writeable) !writeable)
return ret; return ret;
err = uac_clock_selector_set_val(chip, entity_id, cur); err = uac_clock_selector_set_val(chip, entity_id, cur);
if (err < 0) if (err < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment