diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2024-06-26 11:02:37 +0530 |
---|---|---|
committer | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2024-07-01 21:50:29 +0530 |
commit | f08d4bdad612dcff6827f8cd2b20f13413c392d3 (patch) | |
tree | 72aae991856219218a31ad1070353b169035cbbd /crypto/dh_helper.c | |
parent | c7d0b2db5bc5e8c0fdc67b3c8f463c3dfec92f77 (diff) | |
download | linux-f08d4bdad612dcff6827f8cd2b20f13413c392d3.tar.gz linux-f08d4bdad612dcff6827f8cd2b20f13413c392d3.tar.bz2 linux-f08d4bdad612dcff6827f8cd2b20f13413c392d3.zip |
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 'crypto/dh_helper.c')
0 files changed, 0 insertions, 0 deletions