bus: mhi: host: pci_generic: Sort mhi_pci_id_table based on the PID
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 11 Apr 2022 13:34:28 +0000 (19:04 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sat, 23 Apr 2022 13:27:31 +0000 (18:57 +0530)
commit89ad19bea64948685da01035af8706e587cf5d25
tree4f9ac9222463ee42edc76d1b7a50bc3a9b9dc01b
parente565d3efd894f0fba844cf3eafd098d66c266333
bus: mhi: host: pci_generic: Sort mhi_pci_id_table based on the PID

Sorting this way helps in identifying the products of vendors. There is no
sorting required for VID and the new VID should be added as the last entry.

Let's also add a note clarifying this.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Daniele Palmas <dnlplm@gmail.com>
Link: https://lore.kernel.org/r/20220411133428.42165-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/host/pci_generic.c