ALSA: usb-audio: move mixer_quirks' min_mute into common quirk
authorCryolitia PukNgae <cryolitia@uniontech.com>
Wed, 27 Aug 2025 03:29:02 +0000 (11:29 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 05:53:25 +0000 (07:53 +0200)
commit2c3ca8cc55a3afc7a4fa99ed8f5f5d05dd2e65b3
tree102b059a630b85de9ba8662504c8a84dd07ea154
parent051b02b17a8b383ee033db211f90f24b91ac7006
ALSA: usb-audio: move mixer_quirks' min_mute into common quirk

We have found more and more devices that have the same problem, that
the mixer's minimum value is muted. Accroding to pipewire's MR[1]
and Arch Linux wiki[2], this should be a very common problem in USB
audio devices. Move the quirk into common quirk,as a preparation of
more devices' quirk's patch coming on the road[3].

1. https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2514
2. https://wiki.archlinux.org/index.php?title=PipeWire&oldid=804138#No_sound_from_USB_DAC_until_30%_volume
3. On the road, in the physical sense. We have been buying ton of
   these devices for testing the problem.

Tested-by: Guoli An <anguoli@uniontech.com>
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
Link: https://patch.msgid.link/20250827-sound-quirk-min-mute-v1-1-4717aa8a4f6a@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c
sound/usb/quirks.c
sound/usb/usbaudio.h