From: Denis Kenzior <denkenz@gmail.com>
To: ofono@lists.linux.dev
Cc: Denis Kenzior <denkenz@gmail.com>
Subject: [PATCH] qmimodem: Add support for "embedded" endpoints
Date: Fri, 1 Mar 2024 11:27:57 -0600 [thread overview]
Message-ID: <20240301172816.1703961-1-denkenz@gmail.com> (raw)
---
drivers/qmimodem/gprs-context.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/qmimodem/gprs-context.c b/drivers/qmimodem/gprs-context.c
index 46ba46c95139..f575c5e2e1be 100644
--- a/drivers/qmimodem/gprs-context.c
+++ b/drivers/qmimodem/gprs-context.c
@@ -403,6 +403,8 @@ static void qmi_gprs_context_bind_mux(struct ofono_gprs_context *gc)
endpoint_info.endpoint_type = QMI_DATA_ENDPOINT_TYPE_PCIE;
else if (!strcmp(bus, "usb"))
endpoint_info.endpoint_type = QMI_DATA_ENDPOINT_TYPE_HSUSB;
+ else if (!strcmp(bus, "embedded"))
+ endpoint_info.endpoint_type = QMI_DATA_ENDPOINT_TYPE_EMBEDDED;
else {
ofono_error("%s: Invalid 'Bus' value",
ofono_modem_get_path(modem));
--
2.43.0
next reply other threads:[~2024-03-01 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 17:27 Denis Kenzior [this message]
2024-03-01 20:20 ` [PATCH] qmimodem: Add support for "embedded" endpoints patchwork-bot+ofono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240301172816.1703961-1-denkenz@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).