On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote:
This patch adds some common helper functions like translating dsp error
to linux error codes and channel mappings etc.

These functions are used in all the following qdsp6 drivers.

Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohi...@codeaurora.org>
---
  sound/soc/qcom/Kconfig              | 13 ++++++++
  sound/soc/qcom/Makefile             |  3 ++
  sound/soc/qcom/qdsp6/Makefile       |  1 +
  sound/soc/qcom/qdsp6/q6dsp-common.c | 66 +++++++++++++++++++++++++++++++++++++
  sound/soc/qcom/qdsp6/q6dsp-common.h | 24 ++++++++++++++
  sound/soc/qcom/qdsp6/q6dsp-errno.h  | 51 ++++++++++++++++++++++++++++
  6 files changed, 158 insertions(+)
  create mode 100644 sound/soc/qcom/qdsp6/Makefile
  create mode 100644 sound/soc/qcom/qdsp6/q6dsp-common.c
  create mode 100644 sound/soc/qcom/qdsp6/q6dsp-common.h
  create mode 100644 sound/soc/qcom/qdsp6/q6dsp-errno.h
Acked-by: Banajit Goswami <bgosw...@codeaurora.org>

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Reply via email to