summaryrefslogtreecommitdiff
path: root/sound/soc/qcom/qdsp6/q6dsp-common.h
AgeCommit message (Collapse)Author
2023-05-11ASoC: qcom: q6dsp-common: move channel allocation to commonSrinivas Kandagatla
move hdmi/dp channel allocation to a common function q6dsp_get_channel_allocation() so that we can reuse this across q6afe and q6apm drivers. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org Link: https://lore.kernel.org/r/20230509112202.21471-2-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org
2018-05-11ASoC: qdsp6: q6common: Add qdsp6 helper functionsSrinivas Kandagatla
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>