ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC
authorNobutaka Okabe <nob77413@gmail.com>
Fri, 23 Mar 2018 10:20:00 +0000 (19:20 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Mar 2018 21:09:32 +0000 (22:09 +0100)
commit74dc71f83e500b2c6bb0d01a947e1b7231456dd8
tree8e9350c024ad48cddd4395b7192a9105e9418c8d
parent71426535f49fe6034d0e0db77608b91a0c1a022d
ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC

There are two versions of TEAC UD-501, the normal version and
the vendor updated version(UD-501V2).

They have the same VID/PID, but the num of the altsetting is different,
UD-501 has 2 altsets for stream, and UD-501V2 has 3.

So, add the logic to distinguish them by the Product Name, not by the PID.

Signed-off-by: Nobutaka Okabe <nob77413@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c