thunderbolt: Add missing device ID to tb_switch_is_alpine_ridge()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 7 Jan 2022 10:59:01 +0000 (12:59 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 2 Feb 2022 10:56:45 +0000 (13:56 +0300)
tb_switch_is_alpine_ridge() is missing device ID for Intel Alpine Ridge
dual port version so add this.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.h

index 74d3b14..44e3649 100644 (file)
@@ -855,6 +855,7 @@ static inline bool tb_switch_is_alpine_ridge(const struct tb_switch *sw)
        if (sw->config.vendor_id == PCI_VENDOR_ID_INTEL) {
                switch (sw->config.device_id) {
                case PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_BRIDGE:
+               case PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_BRIDGE:
                case PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_BRIDGE:
                case PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_BRIDGE:
                case PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_BRIDGE: