]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: qdsp6: q6common: Add qdsp6 helper functions
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 9 May 2018 12:56:18 +0000 (13:56 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 03:13:31 +0000 (12:13 +0900)
commit4dddbddbce324dc027182ba33d6cbbaf797dfd9e
treefa4c8b96fa2a7ef03a245898a7da7583c7a01fd0
parent0e17e9820319c012c80ebba0a6df07d6a3a03ab3
ASoC: qdsp6: q6common: Add qdsp6 helper functions

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.kandagatla@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig
sound/soc/qcom/Makefile
sound/soc/qcom/qdsp6/Makefile [new file with mode: 0644]
sound/soc/qcom/qdsp6/q6dsp-common.c [new file with mode: 0644]
sound/soc/qcom/qdsp6/q6dsp-common.h [new file with mode: 0644]
sound/soc/qcom/qdsp6/q6dsp-errno.h [new file with mode: 0644]