]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: sequencing: pcie-m2: Sort PCI device IDs in ascending order
authorWei Deng <wei.deng@oss.qualcomm.com>
Wed, 17 Jun 2026 14:30:55 +0000 (20:00 +0530)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 22 Jun 2026 08:05:15 +0000 (10:05 +0200)
Sort the entries in pwrseq_m2_pci_ids[] by device ID in ascending order:
0x1103 (WCN6855) before 0x1107 (WCN7850).

Fixes: 2abcfdd91e6a ("power: sequencing: pcie-m2: Add PCI ID 0x1103 for WCN6855 Bluetooth")
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Wei Deng <wei.deng@oss.qualcomm.com>
Link: https://patch.msgid.link/20260617143055.820096-1-wei.deng@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/power/sequencing/pwrseq-pcie-m2.c

index 94c3f4b7ee36e29d0cc7fa06bf4abf399fc57947..b5ed80d03953b9584af46bcf6258fc07aaea3d1f 100644 (file)
@@ -186,10 +186,10 @@ static int pwrseq_pcie_m2_match(struct pwrseq_device *pwrseq,
 }
 
 static const struct pci_device_id pwrseq_m2_pci_ids[] = {
-       { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x1107),
-         .driver_data = (kernel_ulong_t)"qcom,wcn7850-bt" },
        { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x1103),
          .driver_data = (kernel_ulong_t)"qcom,wcn6855-bt" },
+       { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x1107),
+         .driver_data = (kernel_ulong_t)"qcom,wcn7850-bt" },
        { } /* Sentinel */
 };