| From 67df4527ab187ac83d22366aed208d73651bfe17 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Mon, 9 Dec 2024 11:05:28 +0200 |
| Subject: sound: usb: enable DSD output for ddHiFi TC44C |
| |
| From: Adrian Ratiu <adrian.ratiu@collabora.com> |
| |
| [ Upstream commit c84bd6c810d1880194fea2229c7086e4b73fddc1 ] |
| |
| This is a UAC 2 DAC capable of raw DSD on intf 2 alt 4: |
| |
| Bus 007 Device 004: ID 262a:9302 SAVITECH Corp. TC44C |
| Device Descriptor: |
| bLength 18 |
| bDescriptorType 1 |
| bcdUSB 2.00 |
| bDeviceClass 239 Miscellaneous Device |
| bDeviceSubClass 2 [unknown] |
| bDeviceProtocol 1 Interface Association |
| bMaxPacketSize0 64 |
| idVendor 0x262a SAVITECH Corp. |
| idProduct 0x9302 TC44C |
| bcdDevice 0.01 |
| iManufacturer 1 DDHIFI |
| iProduct 2 TC44C |
| iSerial 6 5000000001 |
| ....... |
| Interface Descriptor: |
| bLength 9 |
| bDescriptorType 4 |
| bInterfaceNumber 2 |
| bAlternateSetting 4 |
| bNumEndpoints 2 |
| bInterfaceClass 1 Audio |
| bInterfaceSubClass 2 Streaming |
| bInterfaceProtocol 32 |
| iInterface 0 |
| AudioStreaming Interface Descriptor: |
| bLength 16 |
| bDescriptorType 36 |
| bDescriptorSubtype 1 (AS_GENERAL) |
| bTerminalLink 3 |
| bmControls 0x00 |
| bFormatType 1 |
| bmFormats 0x80000000 |
| bNrChannels 2 |
| bmChannelConfig 0x00000000 |
| iChannelNames 0 |
| ....... |
| |
| Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> |
| Link: https://patch.msgid.link/20241209090529.16134-1-adrian.ratiu@collabora.com |
| Signed-off-by: Takashi Iwai <tiwai@suse.de> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| sound/usb/quirks.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c |
| index 15932d0a4613..8661399e60d5 100644 |
| --- a/sound/usb/quirks.c |
| +++ b/sound/usb/quirks.c |
| @@ -1916,6 +1916,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { |
| QUIRK_FLAG_GET_SAMPLE_RATE), |
| DEVICE_FLG(0x2522, 0x0007, /* LH Labs Geek Out HD Audio 1V5 */ |
| QUIRK_FLAG_SET_IFACE_FIRST), |
| + DEVICE_FLG(0x262a, 0x9302, /* ddHiFi TC44C */ |
| + QUIRK_FLAG_DSD_RAW), |
| DEVICE_FLG(0x2708, 0x0002, /* Audient iD14 */ |
| QUIRK_FLAG_IGNORE_CTL_ERROR), |
| DEVICE_FLG(0x2912, 0x30c8, /* Audioengine D1 */ |
| -- |
| 2.39.5 |
| |