soc: qcom: Introduce QMI encoder/decoder
Add the helper library for encoding and decoding QMI encoded messages. The implementation is taken from lib/qmi_encdec.c of the Qualcomm kernel (msm-3.18). Modifications has been made to the public API, source buffers has been made const and the debug-logging part was omitted, for now. Acked-by: NChris Lew <clew@codeaurora.org> Tested-by: NChris Lew <clew@codeaurora.org> Tested-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NAndy Gross <andy.gross@linaro.org>
Showing
drivers/soc/qcom/qmi_encdec.c
0 → 100644
此差异已折叠。
include/linux/soc/qcom/qmi.h
0 → 100644
想要评论请 注册 或 登录