power: sequencing: pcie-m2: Sort PCI device IDs in ascending order
Subsystems (3)
PATCH v2 1/1 power: sequencing: pcie-m2: Sort PCI device IDs in ascending order
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 <[email protected]>
Signed-off-by Wei Deng <[email protected]>
---
Changes v2:
- Resend as standalone patch, not as a reply to a review comment.
- Link to v1
https://lore.kernel.org/r/[email protected]
drivers/power/sequencing/pwrseq-pcie-m2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/power/sequencing/pwrseq-pcie-m2.c +2 -2
@@ -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 */ };
Signature · 1 line
2.34.1
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Sort the entries in pwrseq_m2_pci_ids[] by device ID in ascending order:
0x1103(WCN6855) before0x1107(WCN7850).Fixes 2abcfdd91e6a ("power: sequencing: pcie-m2: Add PCI ID 0x1103 for WCN6855 Bluetooth")Reviewed-by Manivannan Sadhasivam <[email protected]>Signed-off-by Wei Deng <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Bartosz Golaszewski
AppliedQuoted 4 lines · Wei Deng
Sort the entries in pwrseq_m2_pci_ids[] by device ID in ascending order:
0x1103(WCN6855) before0x1107(WCN7850).
Applied, thanks!
[1/1] power: sequencing: pcie-m2: Sort PCI device IDs in ascending order
https://git.kernel.org/brgl/c/251c8e86539aefa88980b3dccee7d8ae4974af06
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>