]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: Introduce QMI helpers
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 5 Dec 2017 17:43:07 +0000 (09:43 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Dec 2017 21:38:34 +0000 (15:38 -0600)
commitae598574c2343a796d1d3392c988924f0c90b18b
treec1030100f3dfb2487b3f213e65e449b58f259cfd
parent5e3bdfe8a5af0ab0f83ec1d84541d1b7d41f3931
soc: qcom: Introduce QMI helpers

Drivers that needs to communicate with a remote QMI service all has to
perform the operations of discovering the service, encoding and decoding
the messages and operate the socket. This introduces an abstraction for
these common operations, reducing most of the duplication in such cases.

Acked-by: Chris Lew <clew@codeaurora.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Makefile
drivers/soc/qcom/qmi_interface.c [new file with mode: 0644]
include/linux/soc/qcom/qmi.h