]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Cleanup DSD whitelist
authorJussi Laako <jussi@sonarnerd.net>
Mon, 28 Jan 2019 22:47:01 +0000 (00:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Jan 2019 10:07:53 +0000 (11:07 +0100)
commit177114e9a4f822a7190724c229b93bfd1869cce9
tree71ea16403819a79a859facabdaab9d54f6555736
parentc8d9e45f0700c842f7c31d88046bc042a79bfa52
ALSA: usb-audio: Cleanup DSD whitelist

XMOS/Thesycon family of USB Audio Class firmware flags DSD altsetting
separate from the PCM ones. Thus the DSD altsetting can be auto-detected
based on the flag and doesn't need maintaining specific altsetting
whitelist.

In addition, static VID:PID-to-altsetting whitelisting causes problems
when firmware update changes the altsetting, or same VID:PID is reused
for another device that has different kind of firmware.

This patch removes existing explicit whitelist mappings for XMOS VID
(0x20b1) and Thesycon VID (0x152a).

Also corrects placement of Hegel HD12 and NuPrime DAC-10 to keep list
sorted based on VID.

Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c