ALSA: ctxfi: Add quirk for SE-300PCIE variant (160b:0102)
PATCH 1/1 ALSA: ctxfi: Add quirk for SE-300PCIE variant (160b:0102)
Add quirk for the Onkyo SE-300PCIE variant with PCI subsystem ID (160b:0102). This variant (OK0011) was found in the official Windows driver packages.
Also, reorder entries and fix the indentation to maintain consistency.
Signed-off-by Harin Lee <[email protected]>
--- sound/pci/ctxfi/ctatc.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
sound/pci/ctxfi/ctatc.c +6 -5
@@ -52,18 +52,19 @@ static const struct snd_pci_quirk subsys_20k1_list[] = {static const struct snd_pci_quirk subsys_20k2_list[] = {SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB0760 ,"SB0760" ,CTSB0760 ), -SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB1270 , -"SB1270" ,CTSB1270 ),SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB08801 ,"SB0880" ,CTSB0880 ),SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB08802 ,"SB0880" ,CTSB0880 ),SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB08803 ,"SB0880" ,CTSB0880 ), +SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB1270 , +"SB1270" ,CTSB1270 ), +SND_PCI_QUIRK (0x160b ,0x0101 ,"OK0010" ,CTOK0010 ), +SND_PCI_QUIRK (0x160b ,0x0102 ,"OK0010" ,CTOK0010 ),SND_PCI_QUIRK_MASK (PCI_VENDOR_ID_CREATIVE ,0xf000 ,PCI_SUBDEVICE_ID_CREATIVE_HENDRIX ,"HENDRIX" ,CTHENDRIX ), -SND_PCI_QUIRK (0x160b ,0x0101 ,"OK0010" ,CTOK0010 ), { }/* terminator */ };
@@ -78,8 +79,8 @@ static const char *ct_subsys_name[NUM_CTCARDS] = { [CTSB0760] = "SB076x", [CTHENDRIX] = "Hendrix", [CTSB0880] = "SB0880", - [CTSB1270] = "SB1270", - [CTOK0010] = "OK0010", + [CTSB1270] = "SB1270", + [CTOK0010] = "OK0010", [CT20K2_UNKNOWN] = "Unknown", };
Signature · 1 line
2.53.0
Takashi Iwai
AppliedQuoted 9 lines · Harin Lee
Add quirk for the Onkyo SE-300PCIE variant with PCI subsystem ID (160b:0102). This variant (OK0011) was found in the official Windows driver packages.
Also, reorder entries and fix the indentation to maintain consistency.
Signed-off-by Harin Lee <[email protected]>
Thanks, applied to for-next branch now.
Takashi