diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2024-01-28 14:23:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-01-29 09:07:57 +0100 |
commit | c0787fcff88bce36d21e5b726bdeab694baba6a5 (patch) | |
tree | 09b6db3d49993145d3526775b196593f09f7ec45 /sound/usb/clock.c | |
parent | ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx (diff) | |
download | linux-c0787fcff88bce36d21e5b726bdeab694baba6a5.tar.xz linux-c0787fcff88bce36d21e5b726bdeab694baba6a5.zip |
Revert "ALSA: usb-audio: Skip setting clock selector for single connections"
This reverts commit 67794f882adca00d043899ac248bc002751da9f6.
We need to explicitly set up the clock selector to workaround a problem
with the Behringer mixers. This was originally done in d2e8f641257d
("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: Alexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20240128132338.819273-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/clock.c')
-rw-r--r-- | sound/usb/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/clock.c b/sound/usb/clock.c index 7b259641adb5..a8204c6d6fac 100644 --- a/sound/usb/clock.c +++ b/sound/usb/clock.c @@ -344,7 +344,7 @@ static int __uac_clock_find_source(struct snd_usb_audio *chip, if (ret > 0) { /* Skip setting clock selector again for some devices */ if (chip->quirk_flags & QUIRK_FLAG_SKIP_CLOCK_SELECTOR || - pins == 1 || !writeable) + !writeable) return ret; err = uac_clock_selector_set_val(chip, entity_id, cur); if (err < 0) |