Re: [PATCH] power: sequencing: pcie-m2: Sort PCI device IDs in ascending order
From: Manivannan Sadhasivam
Date: Tue Jun 16 2026 - 02:23:43 EST
On Tue, Jun 16, 2026 at 08:26:32AM +0530, Wei Deng wrote:
> 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")
> Signed-off-by: Wei Deng <wei.deng@xxxxxxxxxxxxxxxx>
Reviewed-by: Manivannan Sadhasivam <mani@xxxxxxxxxx>
Don't send patches as a reply to other patches. You should send them separately.
- Mani
> ---
> drivers/power/sequencing/pwrseq-pcie-m2.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/power/sequencing/pwrseq-pcie-m2.c b/drivers/power/sequencing/pwrseq-pcie-m2.c
> index 94c3f4b7ee36..b5ed80d03953 100644
> --- a/drivers/power/sequencing/pwrseq-pcie-m2.c
> +++ b/drivers/power/sequencing/pwrseq-pcie-m2.c
> @@ -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 */
> };
>
> --
> 2.34.1
>
--
மணிவண்ணன் சதாசிவம்