]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640
authorSlark Xiao <slark_xiao@163.com>
Fri, 6 Jun 2025 09:50:19 +0000 (17:50 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Sat, 19 Jul 2025 03:25:01 +0000 (08:55 +0530)
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
drivers/bus/mhi/host/pci_generic.c

index 589cb672231643c427f8d5aba30be8170516c274..92bd133e7c456ee64d79dfb62f3349f268a4af2c 100644 (file)
@@ -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 },