Skip to content

Commit bfc5ca0

Browse files
fabio-porceddaMani-Sadhasivam
authored andcommitted
bus: mhi: host: pci_generic: Fix the name for the Telit FE990A
Add a mhi_pci_dev_info struct specific for the Telit FE990A modem in order to use the correct product name. Cc: [email protected] # 6.1+ Fixes: 0724869 ("bus: mhi: host: pci_generic: add support for Telit FE990 modem") Signed-off-by: Fabio Porcedda <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]>
1 parent 8400291 commit bfc5ca0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,15 @@ static const struct mhi_pci_dev_info mhi_telit_fn990_info = {
680680
.mru_default = 32768,
681681
};
682682

683+
static const struct mhi_pci_dev_info mhi_telit_fe990a_info = {
684+
.name = "telit-fe990a",
685+
.config = &modem_telit_fn990_config,
686+
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
687+
.dma_data_width = 32,
688+
.sideband_wake = false,
689+
.mru_default = 32768,
690+
};
691+
683692
/* Keep the list sorted based on the PID. New VID should be added as the last entry */
684693
static const struct pci_device_id mhi_pci_id_table[] = {
685694
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0304),
@@ -697,9 +706,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
697706
/* Telit FN990 */
698707
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x1c5d, 0x2010),
699708
.driver_data = (kernel_ulong_t) &mhi_telit_fn990_info },
700-
/* Telit FE990 */
709+
/* Telit FE990A */
701710
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x1c5d, 0x2015),
702-
.driver_data = (kernel_ulong_t) &mhi_telit_fn990_info },
711+
.driver_data = (kernel_ulong_t) &mhi_telit_fe990a_info },
703712
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308),
704713
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
705714
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309),

0 commit comments

Comments
 (0)