| From ba558be2d5694d6762920f3763df6cdf524e5124 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Fri, 6 Jun 2025 17:50:19 +0800 |
| Subject: bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640 |
| |
| From: Slark Xiao <slark_xiao@163.com> |
| |
| [ Upstream commit ae5a34264354087aef38cdd07961827482a51c5a ] |
| |
| T99W640 was mistakenly mentioned as T99W515. T99W515 is a LGA device, not |
| a M.2 modem device. So correct it's name to avoid name mismatch issue. |
| |
| Fixes: bf30a75e6e00 ("bus: mhi: host: Add support for Foxconn SDX72 modems") |
| Signed-off-by: Slark Xiao <slark_xiao@163.com> |
| [mani: commit message fixup] |
| Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> |
| Link: https://patch.msgid.link/20250606095019.383992-1-slark_xiao@163.com |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/bus/mhi/host/pci_generic.c | 8 ++++---- |
| 1 file changed, 4 insertions(+), 4 deletions(-) |
| |
| diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c |
| index 059cfd77382f..cd274f4dae93 100644 |
| --- a/drivers/bus/mhi/host/pci_generic.c |
| +++ b/drivers/bus/mhi/host/pci_generic.c |
| @@ -593,8 +593,8 @@ static const struct mhi_pci_dev_info mhi_foxconn_dw5932e_info = { |
| .sideband_wake = false, |
| }; |
| |
| -static const struct mhi_pci_dev_info mhi_foxconn_t99w515_info = { |
| - .name = "foxconn-t99w515", |
| +static const struct mhi_pci_dev_info mhi_foxconn_t99w640_info = { |
| + .name = "foxconn-t99w640", |
| .edl = "qcom/sdx72m/foxconn/edl.mbn", |
| .edl_trigger = true, |
| .config = &modem_foxconn_sdx72_config, |
| @@ -920,9 +920,9 @@ static const struct pci_device_id mhi_pci_id_table[] = { |
| /* DW5932e (sdx62), Non-eSIM */ |
| { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9), |
| .driver_data = (kernel_ulong_t) &mhi_foxconn_dw5932e_info }, |
| - /* T99W515 (sdx72) */ |
| + /* T99W640 (sdx72) */ |
| { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe118), |
| - .driver_data = (kernel_ulong_t) &mhi_foxconn_t99w515_info }, |
| + .driver_data = (kernel_ulong_t) &mhi_foxconn_t99w640_info }, |
| /* DW5934e(sdx72), With eSIM */ |
| { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe11d), |
| .driver_data = (kernel_ulong_t) &mhi_foxconn_dw5934e_info }, |
| -- |
| 2.39.5 |
| |