]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62a2fdce5cd3331503aeeeaa15425e5c4e5f77ef
tree4f9ac9222463ee42edc76d1b7a50bc3a9b9dc01b
parent7e09f56fd57cb728e2d56e6c19a28134702cf43e
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