summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2024-06-26 08:32:37 +0300
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2024-07-01 19:20:29 +0300
commitf08d4bdad612dcff6827f8cd2b20f13413c392d3 (patch)
tree72aae991856219218a31ad1070353b169035cbbd /scripts/lib
parentc7d0b2db5bc5e8c0fdc67b3c8f463c3dfec92f77 (diff)
downloadlinux-f08d4bdad612dcff6827f8cd2b20f13413c392d3.tar.xz
bus: mhi: host: pci_generic: Use unique 'mhi_pci_dev_info' for product families
Currently, a single 'mhi_pci_dev_info' is shared across different product families. Even though it makes the device functional, it misleads the users by sharing the common product name. For instance, below message will be printed for Foxconn SDX62 modem during boot: "MHI PCI device found: foxconn-sdx65" But this is quite misleading to the users since the actual modem plugged in could be 'T99W373' which is based on SDX62. So fix this issue by using a unique 'mhi_pci_dev_info' for product families. This allows us to specify a unique product name for each product family. Also, once this name is exposed to client drivers, they may use this name to identify the modems and use any modem specific configuration. Modems of unknown product families are not impacted by this change. CC: Slark Xiao <slark_xiao@163.com> Reviewed-by: Slark Xiao <slark_xiao@163.com> Link: https://lore.kernel.org/r/20240626053237.4227-1-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions