diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2021-12-02 17:55:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-14 01:44:02 +0300 |
commit | a78a42fb48b8f261ab122c929f78c272ffc26d1b (patch) | |
tree | dbb53157315acca8a2f4e685c756ce829f19efce /drivers/base | |
parent | 38192dc36f1fe1615b7a12cc78b9354d6b4ba8b7 (diff) | |
download | linux-a78a42fb48b8f261ab122c929f78c272ffc26d1b.tar.xz |
ASoC: qcom: apq8016_sbc: Allow routing audio through QDSP6
The apq8016-sbc-sndcard is designed to be used with the LPASS drivers
(bypassing the combined audio/modem DSP in MSM8916/APQ8016).
Make it possible to use QDSP6 audio instead for the msm8916-qdsp6-sndcard.
This only requires adding some additional hooks that set up the DPCM
backends correctly. Similar code is already used in drivers for newer
SoCs such as apq8096.c, sdm845.c and sm8250.c.
A slightly different initialization sequence is used for the apq8016-sbc
and msm8916-qdsp6 sound card by defining the apq8016_sbc_add_ops()
function as device match data.
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211202145505.58852-6-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions