aboutsummaryrefslogtreecommitdiffstats
path: root/samples/qmi/qmi_sample_client.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-11-24samples: qmi: Constify static qmi opsRikard Falkeborn1-2/+2
The only usage of qmi_sample_handlers[] and lookup_ops is to pass their addresses to qmi_handle_init() which accepts const pointers to both qmi_ops and qmi_msg_handler. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20201124212954.17750-1-rikard.falkeborn@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-02-12samples: Introduce Qualcomm QMI sample clientBjorn Andersson1-0/+622
Introduce a sample driver that register for server notifications and spawn clients for each available test service (service 15). The spawned clients implements the interface for encoding "ping" and "data" requests and decode the responses from the remote. Acked-By: Chris Lew <clew@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>