public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640
@ 2025-11-25  7:09 Slark Xiao
  2025-11-25  8:33 ` Loic Poulain
  2025-11-27  1:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Slark Xiao @ 2025-11-25  7:09 UTC (permalink / raw)
  To: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
	edumazet, pabeni, mani
  Cc: netdev, linux-kernel, Slark Xiao

Correct it since M.2 device T99W640 has updated from T99W515.
We need to align it with MHI side otherwise this modem can't
get the network.

Fixes: ae5a34264354 ("bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640")
Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
v2: correct changes based on net base. Remove extra Fixes contents
---
 drivers/net/wwan/mhi_wwan_mbim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
index c814fbd756a1..f8bc9a39bfa3 100644
--- a/drivers/net/wwan/mhi_wwan_mbim.c
+++ b/drivers/net/wwan/mhi_wwan_mbim.c
@@ -98,7 +98,7 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
 static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
 {
 	if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
-	    strcmp(cntrl->name, "foxconn-t99w515") == 0)
+	    strcmp(cntrl->name, "foxconn-t99w640") == 0)
 		return WDS_BIND_MUX_DATA_PORT_MUX_ID;
 
 	return 0;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640
  2025-11-25  7:09 [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640 Slark Xiao
@ 2025-11-25  8:33 ` Loic Poulain
  2025-11-27  1:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Loic Poulain @ 2025-11-25  8:33 UTC (permalink / raw)
  To: Slark Xiao
  Cc: ryazanov.s.a, johannes, andrew+netdev, davem, edumazet, pabeni,
	mani, netdev, linux-kernel

On Tue, Nov 25, 2025 at 8:09 AM Slark Xiao <slark_xiao@163.com> wrote:
>
> Correct it since M.2 device T99W640 has updated from T99W515.
> We need to align it with MHI side otherwise this modem can't
> get the network.
>
> Fixes: ae5a34264354 ("bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640")
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>

> ---
> v2: correct changes based on net base. Remove extra Fixes contents
> ---
>  drivers/net/wwan/mhi_wwan_mbim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
> index c814fbd756a1..f8bc9a39bfa3 100644
> --- a/drivers/net/wwan/mhi_wwan_mbim.c
> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
> @@ -98,7 +98,7 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
>  static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
>  {
>         if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
> -           strcmp(cntrl->name, "foxconn-t99w515") == 0)
> +           strcmp(cntrl->name, "foxconn-t99w640") == 0)
>                 return WDS_BIND_MUX_DATA_PORT_MUX_ID;
>
>         return 0;
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640
  2025-11-25  7:09 [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640 Slark Xiao
  2025-11-25  8:33 ` Loic Poulain
@ 2025-11-27  1:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-11-27  1:10 UTC (permalink / raw)
  To: Slark Xiao
  Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
	edumazet, pabeni, mani, netdev, linux-kernel

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 25 Nov 2025 15:09:00 +0800 you wrote:
> Correct it since M.2 device T99W640 has updated from T99W515.
> We need to align it with MHI side otherwise this modem can't
> get the network.
> 
> Fixes: ae5a34264354 ("bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640")
> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> 
> [...]

Here is the summary with links:
  - [net,v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640
    https://git.kernel.org/netdev/net/c/4fcb8ab4a09b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-27  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25  7:09 [PATCH net v2] net: wwan: mhi: Keep modem name match with Foxconn T99W640 Slark Xiao
2025-11-25  8:33 ` Loic Poulain
2025-11-27  1:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox