diff options
author | Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> | 2022-02-24 21:03:40 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-24 20:21:39 +0000 |
commit | 74190d7cd3e8ab5123206d383dbfe125a4b7bb19 (patch) | |
tree | 2ef3ceb48dfa63f7d14d065aed15621f58c7f4c6 /sound/soc/qcom/lpass.h | |
parent | 1f197351b3af345b626735ed9cda43fa896c23d3 (diff) | |
download | linux-stable-74190d7cd3e8ab5123206d383dbfe125a4b7bb19.tar.gz linux-stable-74190d7cd3e8ab5123206d383dbfe125a4b7bb19.tar.bz2 linux-stable-74190d7cd3e8ab5123206d383dbfe125a4b7bb19.zip |
ASoC: qcom: Move lpass_pcm_data structure to lpass header
Declare lpass_pcm_data structure in lpass header file instead of
platform source file to make common use of it by other drivers
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/1645716828-15305-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass.h')
-rw-r--r-- | sound/soc/qcom/lpass.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index c0f0247e6819..f0d21cd57aae 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -257,6 +257,11 @@ struct lpass_variant { int num_clks; }; +struct lpass_pcm_data { + int dma_ch; + int i2s_port; +}; + /* register the platform driver from the CPU DAI driver */ int asoc_qcom_lpass_platform_register(struct platform_device *); int asoc_qcom_lpass_cpu_platform_remove(struct platform_device *pdev); |