ALSA: lx6464es - add support for LX6464ESe pci express variant
authorTim Blechmann <tim@klingt.org>
Fri, 6 Sep 2019 08:21:19 +0000 (16:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Sep 2019 10:54:00 +0000 (12:54 +0200)
The pci express variant of the digigram lx6464es card has a different
device ID, but works without changes to the driver.
Thanks to Nikolas Slottke for reporting and testing.

Signed-off-by: Tim Blechmann <tim@klingt.org>
Link: https://lore.kernel.org/r/20190906082119.40971-1-tim@klingt.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/pci_ids.h
sound/pci/lx6464es/lx6464es.c

index c842735a4f45a41d4ce305d236d08a8b2d0ef3b6..901c5b2f76de970bcbfd70c29c0e4085bab5291f 100644 (file)
 #define PCI_VENDOR_ID_DIGIGRAM         0x1369
 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ES_SERIAL_SUBSYSTEM    0xc001
 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ES_CAE_SERIAL_SUBSYSTEM        0xc002
+#define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_SERIAL_SUBSYSTEM           0xc021
+#define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_CAE_SERIAL_SUBSYSTEM       0xc022
 
 #define PCI_VENDOR_ID_KAWASAKI         0x136b
 #define PCI_DEVICE_ID_MCHIP_KL5A72002  0xff01
index 583ca7384d8311c5a8810124c7904c97539fdcaf..fe10714380f2ce1a48e9bf142381144bcc6e3c63 100644 (file)
@@ -49,6 +49,14 @@ static const struct pci_device_id snd_lx6464es_ids[] = {
                         PCI_VENDOR_ID_DIGIGRAM,
                         PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ES_CAE_SERIAL_SUBSYSTEM),
        },                      /* LX6464ES-CAE */
+       { PCI_DEVICE_SUB(PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_LX6464ES,
+                        PCI_VENDOR_ID_DIGIGRAM,
+                        PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_SERIAL_SUBSYSTEM),
+       },                      /* LX6464ESe */
+       { PCI_DEVICE_SUB(PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_LX6464ES,
+                        PCI_VENDOR_ID_DIGIGRAM,
+                        PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_CAE_SERIAL_SUBSYSTEM),
+       },                      /* LX6464ESe-CAE */
        { 0, },
 };